Created
August 10, 2015 16:18
-
-
Save Dalmirog-zz/dd6709695508d19924b7 to your computer and use it in GitHub Desktop.
Get latest deployments and sort them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$projects = Get-OctopusProject | |
$list = @() | |
$list += $projects.latestdeployments | |
#Presentation | |
#If all "Prod" environments name start with "Prod", they will all show up toghether | |
$list | Sort-Object EnvironmentName | Format-Table | |
#If all "Web" Projects name start with "Web", they will all show up toghether | |
#$list | Sort-Object ProjectName | Format-Table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment