- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to get the fault domain count of the Azure Availability set using PowerShell?
The fault domain in the Azure Availability set describes the VMs in the availability set that share the common Power, Storage, network switch, etc. If there is a failure in the fault domain then all the resources in the fault domain will become unavailable.
Before running the command make sure that you are connected to the Azure Cloud (if not use ConnectAzAccount) and proper azure subscription (Set-AzContext to set the Azure subscription)
$availablityset = Get-AzAvailabilitySet -ResourceGroupName ResourceGroupName -Name AvailabilitySetName
To get the Fault domain countm
$availablityset.PlatformFaultDomainCount
Output
- Related Articles
- How to get the update domain count of the Azure Availability set using PowerShell?
- How to get the available Azure VM sizes for the availability set using PowerShell?
- How to find the disk type of the Azure Availability set using PowerShell?
- How to list the Azure VMs from the Availability set using PowerShell?
- How to get the tags of the availability set using PowerShell?
- How to get the location of the Azure VM using Azure CLI in PowerShell?
- How to get the Azure resource group using Azure CLI in PowerShell?
- How to get the Azure VM Size using Azure CLI in PowerShell?
- How to get the Azure VM username using Azure CLI in PowerShell?
- How to get the Power state of the Azure VM using PowerShell?
- How to get the available azure VM size using Azure CLI in PowerShell?
- How to get the Azure VM DNS name using PowerShell?
- How to get the applied azure resource tags using PowerShell?
- How to get the Azure VM available sizes using PowerShell?
- How to get the installed Azure VM extension using PowerShell?

Advertisements