Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created February 4, 2015 13:05
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/6b7f0f5e979ac9e35b57 to your computer and use it in GitHub Desktop.
Save pkirch/6b7f0f5e979ac9e35b57 to your computer and use it in GitHub Desktop.
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
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