Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
Find the fault domains of all the virtual machines in a cloud service
January 9, 2015
Q: How can I view the fault domain and upgrade domain of my virtual machines in Azure?
A: The following PowerShell code lists the upgrade domain and fault domain for all the virtual machines in a given cloud service.
PS C:> Get-AzureService -ServiceName savilltech101 | Get-AzureVM | Select Name, InstanceUpgradeDomain, InstanceFaultDomain | ft -AutoSize Name InstanceUpgradeDomain InstanceFaultDomain---- --------------------- -------------------websrv1 0 0 websrv2 1 1 websrv3 2 0
You May Also Like