Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This sample shows the different status values of a starting VM in Azure. In this sample the VM "host3" in service "leastetest3" is starting up.
Get-AzureVM
<# Output
ServiceName Name Status
----------- ---- ------
leasetest host1 ReadyRole
leasetest2 host2 ReadyRole
leasetest3 host3 RoleStateUnknown
leasetest4 host4 StoppedDeallocated
leasetest5 host5 StoppedDeallocated
#>
Get-AzureVM
<# Output
ServiceName Name Status
----------- ---- ------
leasetest host1 ReadyRole
leasetest2 host2 ReadyRole
leasetest3 host3 CreatingVM
leasetest4 host4 StoppedDeallocated
leasetest5 host5 StoppedDeallocated
#>
Get-AzureVM
<# Output
ServiceName Name Status
----------- ---- ------
leasetest host1 ReadyRole
leasetest2 host2 ReadyRole
leasetest3 host3 StartingVM
leasetest4 host4 StoppedDeallocated
leasetest5 host5 StoppedDeallocated
#>
@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.