Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.