powershell - List of possible Status outputs from Get-AzureVM -
i have been unable find list of possible states can returned status get-azurevm.
for example, checking:
1) $vms = get-azurevm | {$_.status -eq "readyrole"}
2) $vms = get-azurevm | {$_.status -eq "stoppeddeallocated"}
3) $vms = get-azurevm | {$_.status -eq "stopped"}
are there other possible outputs?
if want see possible values, can information service management api documentation page: https://msdn.microsoft.com/en-us/library/azure/ee460804.aspx. scroll down section roleinstancelist
, see possible values.
Comments
Post a Comment