Get-SCStorageZone

Gets a Fibre Channel zone object.

Syntax

Get-SCStorageZone [[-Name] <String>] [-All] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCStorageZone [[-Name] <String>] [-ID <Guid>] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCStorageZone [[-Name] <String>] [-VMMServer <ServerConnection>] -ZoneMember <String> [<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
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ID

Specifies the unique ID for a Fibre Channel zone.

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

Specifies the name of a Fibre Channel zone object.

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

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ZoneMember

Specifies a storage zone member.

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

Outputs

StorageZone

This cmdlet returns a **StorageZone** object.