## PowerCLI Reference

# Get-SpbmFaultDomain

## Synopsis

This cmdlet retrieves fault domains based on name or ID filter.

Syntax

Get-SpbmFaultDomain [[-Name] <String[]>] [-VasaProvider <VasaProvider[]>] [-Server <VIServer[]>] [<CommonParameters>]
Get-SpbmFaultDomain -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves fault domains based on name or ID filter. The fault domain ID is globally unique.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Filters the retrieved fault domains by name. | false | false
Id | String[] | Filters the retrieved fault domains by ID. | true | false
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | false
VasaProvider | VasaProvider[] | Specifies the list of VASA providers. You can retrieve fault domains reported by these VASA providers. | false | true (ByValue)

Return Type

Zero or more SpbmFaultDomain objects

Notes

Examples

-------------- 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'.

Copyright © VMware, Inc. All rights reserved.