Get-SCStorageZone
取得光纖通道區域物件。
Syntax
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>]
Description
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
指定光纖通道區域的唯一識別碼。
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 物件。