Set-SCStorageFabric
Set-SCStorageFabric
Updates a storage Fibre Channel fabric object.
構文
Parameter Set: Default
Set-SCStorageFabric [-StorageFabric] <StorageFabric> [-Description <String> ] [-JobVariable <String> ] [-Name <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [ <CommonParameters>]
Parameter Set: DisableManagement
Set-SCStorageFabric [-StorageFabric] <StorageFabric> -DisableManagement [-Description <String> ] [-JobVariable <String> ] [-Name <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [ <CommonParameters>]
Parameter Set: EnableManagement
Set-SCStorageFabric [-StorageFabric] <StorageFabric> -EnableManagement -StorageFabricClassification <StorageFabricClassification> [-Description <String> ] [-JobVariable <String> ] [-Name <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [ <CommonParameters>]
詳細説明
The Set-SCStorageFabric cmdlet updates a storage Fibre Channel fabric object.
パラメーター
-Description<String>
States a description for the specified object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-DisableManagement
Indicates that this cmdlet disables management of the Fibre Channel fabric.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-EnableManagement
Indicates that this cmdlet enables management of the Fibre Channel fabric.
エイリアス |
none |
必須? |
true |
位置は? |
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 |
必須? |
false |
位置は? |
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 |
-StorageFabricClassification<StorageFabricClassification>
Specifies a classification for storage Fibre Channel fabric.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- StorageFabric
例
Example 1: Disable management of a storage fabric
The first command gets the storage fabric object named Fabric01, and then stores the object in the $fabric variable.
The second command disables management of the storage fabric object stored in $fabric.
PS C:\> $fabric = Get-SCStorageFabric -Name "Fabric01"
PS C:\> Set-SCStorageFabric -StorageFabric $fabric -DisableManagement
Example 2: Enable management of a storage fabric
The first command gets the storage fabric object named Fabric01, and then stores the object in the $fabric variable.
The second command gets the storage fabric classification object named PROD, and then stores the object in the $classification variable.
The last command enables management of the storage fabric stored in $fabric, and applies the storage classification stored in $classification.
PS C:\> $fabric = Get-SCStorageFabric -Name "Fabric01"
PS C:\> $classification = Get-SCStorageFabricClassification -Name "PROD"
PS C:\> Set-SCStorageFabric -StorageFabric $fabric -StorageFabricClassification $classification -EnableManagement
Example 3: Modify name and description of a storage fabric
The first command gets the storage fabric object named Fabric01, and then stores the object in the $fabric variable.
The second command applies a new name and a description to the storage fabric object stored in $fabric.
PS C:\> $fabric = Get-SCStorageFabric -Name "Fabric01"
PS C:\> Set-SCStorageFabric -StorageFabric $fabric -Name "newName" -Description "newDescription"
Example 4: Modify a storage fabric classification
The first command gets the storage fabric object named Fabric01, and then stores the object in the $fabric variable.
The second command gets the storage fabric classification object named PROD, and then stores the object in the $classification variable.
The last command applies the classification stored in $classification to the storage fabric stored in $fabric.
PS C:\> $fabric = Get-SCStorageFabric -Name "Fabric01"
PS C:\> $classification = Get-SCStorageFabricClassification -Name "PROD"
PS C:\> Set-SCStorageFabric -StorageFabric $fabric -StorageFabricClassification $classification