Tuesday, 15 February 2011

powershell - List of possible Status outputs from Get-AzureVM -


I can not get a list of possible states for status from Get-AzureVM.

For example, I am currently checking:

1) $ VMs = Get-AzureVM | Where {$ _. Position -ec "ready-roll"}

2) $ VMs = Get-AzureVM | Where {$ _ position = aces "StoppedDeallocated"}

3) $ VMs = Get-AzureVM | Where {$ _. Position-EC "closed"}

Is there any other possible output?

If you want to see all possible values, then you get this information from the Service Management API documentation page. Can:. Scroll down to the section RollInstance List and you will see all possible values ​​


No comments:

Post a Comment