Set-SCStorageArray
Set-SCStorageArray
Modifies the properties of a storage array object.
構文
Parameter Set: Default
Set-SCStorageArray [-StorageArray] <StorageArray> [-CreateStorageGroupsPerCluster <Boolean]> ] [-Description <String> ] [-DiscoverPhysicalDisks] [-JobVariable <String> ] [-LogicalUnitCopyMethod <StorageLogicalUnitCopyMethod> {Snapshot | Clone | RemoteMirror} ] [-MaximumStorageLogicalUnitNameLength <Int16> ] [-Name <String> ] [-PROTipID <Guid]> ] [-RemoveStoragePoolFromManagement <StoragePool[]> ] [-RunAsynchronously] [ <CommonParameters>]
Parameter Set: EnablePoolManagement
Set-SCStorageArray [-StorageArray] <StorageArray> -AddStoragePoolToManagement <StoragePool[]> -StorageClassificationAssociation <StorageClassification[]> [-CreateStorageGroupsPerCluster <Boolean]> ] [-Description <String> ] [-DiscoverPhysicalDisks] [-JobVariable <String> ] [-LogicalUnitCopyMethod <StorageLogicalUnitCopyMethod> {Snapshot | Clone | RemoteMirror} ] [-MaximumStorageLogicalUnitNameLength <Int16> ] [-Name <String> ] [-PROTipID <Guid]> ] [-RemoveStoragePoolFromManagement <StoragePool[]> ] [-RunAsynchronously] [-VMHostGroupAssociation <Microsoft.SystemCenter.VirtualMachineManager.HostGroup[]> ] [ <CommonParameters>]
詳細説明
The Set-SCStorageArray cmdlet modifies the properties of a Virtual Machine Manager (VMM) storage array object.
パラメーター
-AddStoragePoolToManagement<StoragePool[]>
Indicates whether management of a storage pool through VMM is enabled. When set to $True, VMM imports all logical unit objects hosted by the storage pool.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-CreateStorageGroupsPerCluster<Boolean]>
Indicates whether a storage group is created for each cluster.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Description<String>
States a description for the specified object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-DiscoverPhysicalDisks
Indicates that the cmdlet performs a level 3 discovery of physical disks.
エイリアス |
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 |
-LogicalUnitCopyMethod<StorageLogicalUnitCopyMethod>
Specifies the method used by the array to copy an existing logical unit. Valid values: Clone, Snapshot.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-MaximumStorageLogicalUnitNameLength<Int16>
Specifies the maximum length that the name for a logical unit can be.
エイリアス |
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 |
-RemoveStoragePoolFromManagement<StoragePool[]>
Removes a storage pool from VMM management. This parameter deletes all logical unit information from VMM, but does not delete any data from the logical units themselves.
エイリアス |
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 |
-StorageArray<StorageArray>
Specifies a storage array object. This can be a Fibre Channel or iSCSI storage sub-system that is used to store virtual machine configuration and virtual disks.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-StorageClassificationAssociation<StorageClassification[]>
Specifies an array of storage classification objects that is associated with a storage pool.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-VMHostGroupAssociation<Microsoft.SystemCenter.VirtualMachineManager.HostGroup[]>
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- StorageArray
例
Example 1: Change the name of a storage array
The first command gets the first item in the storage array, and then stores it in the $Array variable.
The second command changes the name of the storage array stored in the $Array variable to New Name.
PS C:\> $Array = @(Get-SCStorageArray)[0]
PS C:\> Set-SCStorageArray -StorageArray $Array -Name "New Name"