NAME
Get-StorageFaultDomain
SYNOPSIS
Gets a Storage fault domain object.SYNTAX
Get-StorageFaultDomain [-CimSession
[] [-PhysicalLocation ] [-Type ] ] Get-StorageFaultDomain [-CimSession
] [-PhysicalLocation ] [-Type ] -StorageFaultDomain
[ ] Get-StorageFaultDomain [-CimSession
] [-PhysicalLocation ] [-Type ] -StorageSubsystem
[ ] DESCRIPTION
The Get-StorageFaultDomain cmdlet gets a Storage fault domain object.
PARAMETERS
-CimSession [
Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false] -PhysicalLocation [
Specifies the physical location of the hardware. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false] -StorageFaultDomain
Specifies the objects in the hierarchy that are above or below the fault domain. Required? true 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.
Required? true Position? named Default value none Accept pipeline input? true(ByValue) Accept wildcard characters? false-Type [
Specifies the Storage fault domain type:] -- PhysicalDisk
-- Enclosure
-- StorageScaleUnit
-- Rack
-- Chassis
Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? falseThis cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS
OUTPUTS
MSFT_PhysicalDisk, MSFT_StorageEnclosure, MSFT_StorageScaleUnit, MSFT_StorageRack, MSFT_StorageChassisExample 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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816402