Share via


Get-SCStorageZone

Gets a Fibre Channel zone object.

Syntax

All (Default)

Get-SCStorageZone
    [[-Name] <String>]
    [-VMMServer <ServerConnection>]
    [-All]
    [<CommonParameters>]

GetByZoneMember

Get-SCStorageZone
    [[-Name] <String>]
    -ZoneMember <String>
    [-VMMServer <ServerConnection>]
    [<CommonParameters>]

ID

Get-SCStorageZone
    [[-Name] <String>]
    [-VMMServer <ServerConnection>]
    [-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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

All
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ID

Specifies the unique ID for a Fibre Channel zone.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ID
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of a Fibre Channel zone object.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a VMM server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ZoneMember

Specifies a storage zone member.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetByZoneMember
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

StorageZone

This cmdlet returns a StorageZone object.