< Back
Get-StorageFaultDomain
Post
NAME Get-StorageFaultDomain
SYNOPSIS
Gets a Storage fault domain object.
SYNTAX
Get-StorageFaultDomain [-CimSession <CimSession>] [-PhysicalLocation <String>] [-Type <StorageFaultDomainType>] [<CommonParameters>]
Get-StorageFaultDomain [-CimSession <CimSession>] [-PhysicalLocation <String>] [-Type <StorageFaultDomainType>] -StorageFaultDomain <CimInstance>
[<CommonParameters>]
Get-StorageFaultDomain [-CimSession <CimSession>] [-PhysicalLocation <String>] [-Type <StorageFaultDomainType>] -StorageSubsystem <CimInstance>
[<CommonParameters>]
DESCRIPTION
The Get-StorageFaultDomain cmdlet gets a Storage fault domain object.
PARAMETERS
-CimSession [<CimSession>]
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-PhysicalLocation [<String>]
Specifies the physical location of the hardware.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-StorageFaultDomain <CimInstance>
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 <CimInstance>
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 [<StorageFaultDomainType>]
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? false
<CommonParameters>
This 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_StorageChassis
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816402
SYNOPSIS
Gets a Storage fault domain object.
SYNTAX
Get-StorageFaultDomain [-CimSession <CimSession>] [-PhysicalLocation <String>] [-Type <StorageFaultDomainType>] [<CommonParameters>]
Get-StorageFaultDomain [-CimSession <CimSession>] [-PhysicalLocation <String>] [-Type <StorageFaultDomainType>] -StorageFaultDomain <CimInstance>
[<CommonParameters>]
Get-StorageFaultDomain [-CimSession <CimSession>] [-PhysicalLocation <String>] [-Type <StorageFaultDomainType>] -StorageSubsystem <CimInstance>
[<CommonParameters>]
DESCRIPTION
The Get-StorageFaultDomain cmdlet gets a Storage fault domain object.
PARAMETERS
-CimSession [<CimSession>]
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-PhysicalLocation [<String>]
Specifies the physical location of the hardware.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-StorageFaultDomain <CimInstance>
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 <CimInstance>
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 [<StorageFaultDomainType>]
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? false
<CommonParameters>
This 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_StorageChassis
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkId=816402