Edit

Share via


Get-StorageFaultDomain

Gets a Storage fault ___domain object.

Syntax

EnumerateFaultDomains (Default)

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

ByStorageFaultDomain

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

ByStorageSubsystem

Get-StorageFaultDomain
    -StorageSubsystem <CimInstance>
    [-Type <StorageFaultDomainType>]
    [-PhysicalLocation <String>]
    [-CimSession <CimSession>]
    [<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.

Parameters

-CimSession

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

Parameter properties

Type:CimSession
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PhysicalLocation

Specifies the physical ___location of the hardware.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StorageFaultDomain

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

Parameter properties

Type:CimInstance
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByStorageFaultDomain
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:CimInstance
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByStorageSubsystem
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

Specifies the Storage fault ___domain type:

  • PhysicalDisk
  • Enclosure
  • StorageScaleUnit
  • Rack
  • Chassis

Parameter properties

Type:StorageFaultDomainType
Default value:None
Accepted values:PhysicalDisk, StorageEnclosure, StorageScaleUnit, StorageChassis, StorageRack, StorageSite
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

MSFT_PhysicalDisk

MSFT_StorageEnclosure

MSFT_StorageScaleUnit

MSFT_StorageRack

MSFT_StorageChassis

Notes

  • When used in Failover Cluster, cmdlets from the Storage module operate on cluster level (all servers in the cluster).