Get-StorageFaultDomain

Gets a Storage fault domain object.

Syntax

Get-StorageFaultDomain
   [-CimSession <CimSession>]
   [-PhysicalLocation <String>]
   -StorageFaultDomain <CimInstance>
   [-Type <StorageFaultDomainType>]
   [<CommonParameters>]
Get-StorageFaultDomain
   [-CimSession <CimSession>]
   [-PhysicalLocation <String>]
   -StorageSubsystem <CimInstance>
   [-Type <StorageFaultDomainType>]
   [<CommonParameters>]

Description

The Get-StorageFaultDomain cmdlet gets a Storage fault domain object.

Examples

Example 1: Find a rack by its serial number

PS C:\>$Rack = Get-StorageFaultDomain -Type Rack | Where-Object {$_.SerialNumber -eq "xyzz"}

The first command gets the Rack domain type fault domains and uses the pipeline to pass them to Where-Object, which finds the Rack whose serial number is xyzz. The Rack is stored in the $Rack variable.

Required Parameters

-StorageFaultDomain

Specifies the objects in the hierarchy that are above or below the fault domain.

Type:CimInstance
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-StorageSubsystem

Specifies the storage subsystem object in which to retrieve storage jobs. Enter a StorageSubsystem CIM object. The StorageSubsystem CIM object is exposed by the Get-StorageSubSystem cmdlet.

Type:CimInstance
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-CimSession
Type:CimSession
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PhysicalLocation

Specifies the physical location of the hardware.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Type

Specifies the Storage fault domain type:

  • PhysicalDisk
  • Enclosure
  • StorageScaleUnit
  • Rack
  • Chassis
Type:StorageFaultDomainType
Parameter Sets:PhysicalDisk, StorageEnclosure, StorageScaleUnit, StorageChassis, StorageRack, StorageSite
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

MSFT_PhysicalDisk, MSFT_StorageEnclosure, MSFT_StorageScaleUnit, MSFT_StorageRack, MSFT_StorageChassis