Get-StorageFaultDomain
Gets a Storage fault domain object.
Syntax
Get-StorageFaultDomain
[-Type <StorageFaultDomainType>]
[-PhysicalLocation <String>]
[-CimSession <CimSession>]
[<CommonParameters>]
Get-StorageFaultDomain
[-Type <StorageFaultDomainType>]
[-PhysicalLocation <String>]
-StorageFaultDomain <CimInstance>
[-CimSession <CimSession>]
[<CommonParameters>]
Get-StorageFaultDomain
[-Type <StorageFaultDomainType>]
[-PhysicalLocation <String>]
-StorageSubsystem <CimInstance>
[-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
Type: | CimSession |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PhysicalLocation
Specifies the physical location of the hardware.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageFaultDomain
Specifies the objects in the hierarchy that are above or below the fault domain.
Type: | CimInstance |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
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 |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Type
Specifies the Storage fault domain type:
- PhysicalDisk
- Enclosure
- StorageScaleUnit
- Rack
- Chassis
Type: | StorageFaultDomainType |
Accepted values: | PhysicalDisk, StorageEnclosure, StorageScaleUnit, StorageChassis, StorageRack, StorageSite |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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).
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기