다음을 통해 공유


Get-SCStorageZone

Gets a Fibre Channel zone object.

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

The Get-SCStorageZone cmdlet gets a Fibre Channel zone object.

Examples

Example 1: Get a storage zone

PS C:\> Get-SCStorageZone -Name "Zone01"

This command gets the storage zone object named Zone01.

Parameters

-All

Indicates that this cmdlet retrieves a full list of all subordinate Fibre Channel zones independent of the parent object with which they are associated.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ID

Specifies the unique ID for a Fibre Channel zone.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of a Fibre Channel zone object.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ZoneMember

Specifies a storage zone member.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

StorageZone

This cmdlet returns a StorageZone object.