New-SCStorageZoneAlias

New-SCStorageZoneAlias

Creates a Fibre Channel zone alias.

構文

Parameter Set: Default
New-SCStorageZoneAlias [-StorageFabric] <StorageFabric> -Name <String> [-AddZoneMembership <String[]> ] [-Description <String> ] [-JobVariable <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [ <CommonParameters>]

詳細説明

The New-SCStorageZoneAlias cmdlet creates a Fibre Channel zone alias.

パラメーター

-AddZoneMembership<String[]>

Specifies an array of zone members for the cmdlet to add.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Description<String>

States a description for the specified object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-JobVariable<String>

Specifies that job progress is tracked and stored in the variable named by this parameter.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name of a VMM object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PROTipID<Guid]>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-StorageFabric<StorageFabric>

Specifies a storage Fibre Channel fabric object.

エイリアス

none

必須?

true

位置は?

1

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • StorageZoneAlias

Example Example 1: Create a fibre Fibre channel Channel zone alias.Fibre Channel

The first command gets the storage fabric object named PROD, and then stores the object in the $Fabric variable.

The second command creates an array named $Members. The third and fourth commands populate the $Members array.

The last command creates a zone alias named ZoneAlias01 with the members stored in $Members.

PS C:\> $Fabric = Get-SCStorageFabric -Name "PROD"
PS C:\> $Members = @()
PS C:\> $Members += "C003FF3B8A610000"
PS C:\> $Members += "D113EF3A8F411234"
PS C:\> New-SCStorageZoneAlias -StorageFabric $Fabric -Name "ZoneAlias01" -Description "Fibre_Channel_Zone_Alias" -AddZoneMembership $Members

関連トピック

Get-SCStorageZoneAlias

Remove-SCStorageZoneAlias

Set-SCStorageZoneAlias

Get-SCStorageFabric