Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created February 4, 2015 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkirch/aff99159719addbd5e95 to your computer and use it in GitHub Desktop.
Save pkirch/aff99159719addbd5e95 to your computer and use it in GitHub Desktop.
This sample shows how to select only the Status property for a single VM in Azure via PowerShell.
Get-AzureVM -ServiceName leasetest3 -Name host3 | Select-Object -Property Status
<# Output
Status
------
RoleStateUnknown
#>
@pkirch
Copy link
Author

pkirch commented Feb 9, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment