Get-SpbmFaultDomain
This cmdlet retrieves fault domains based on name or ID filter. The fault domain ID is globally unique.
Syntax
[-Name
< String[] > ]
[-ProgressAction
< ActionPreference > ]
[-Server
< VIServer[] > ]
[-VasaProvider
< VasaProvider[] > ]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Name | String[] | named |
|
Filters the retrieved fault domains by name. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. |
optional | VasaProvider | VasaProvider[] | named |
|
Specifies the list of VASA providers. You can retrieve fault domains reported by these VASA providers. |
-Id
< String[] >
[-ProgressAction
< ActionPreference > ]
[-Server
< VIServer[] > ]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Id | String[] | named |
|
Filters the retrieved fault domains by ID. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. |
Output
VMware.VimAutomation.Storage.Types.V1.Spbm.Replication.SpbmFaultDomainExamples
Example 1
Get-SpbmFaultDomain -Name 'FaultDomain' -VasaProvider $vasaProvider
Retrieves fault domains named 'FaultDomain' from the $vasaProvider VASA provider.
Example 2
Get-SpbmFaultDomain -Id 'FaultDomainId'
Retrieves the fault domain with ID 'FaultDomainId'.
Related Commands
SpbmFaultDomain
This cmdlet retrieves fault domains based on name or ID filter.