Get-SCStorageZone
获取光纤通道区域对象。
语法
Get-SCStorageZone
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[-All]
[<CommonParameters>]
Get-SCStorageZone
[-VMMServer <ServerConnection>]
[[-Name] <String>]
-ZoneMember <String>
[<CommonParameters>]
Get-SCStorageZone
[-VMMServer <ServerConnection>]
[[-Name] <String>]
[-ID <Guid>]
[<CommonParameters>]
说明
Get-SCStorageZone cmdlet 获取光纤通道区域对象。
示例
示例 1:获取存储区域
PS C:\> Get-SCStorageZone -Name "Zone01"
此命令获取名为 Zone01 的存储区域对象。
参数
-All
指示此 cmdlet 检索与其关联的父对象无关的所有从属光纤通道区域的完整列表。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ID
指定光纤通道区域的唯一 ID。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定光纤通道区域对象的名称。
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
指定VMM 服务器对象。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ZoneMember
指定存储区域成员。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输出
StorageZone
此 cmdlet 返回 StorageZone 对象。