Set-SCStorageArray

Modifies the properties of a storage array object.

Description

The Set-SCStorageArray cmdlet modifies the properties of a System Center Virtual Machine Manager (VMM) storage array object.

For more information about Set-SCStorageArray, type: "Get-Help Set-SCStorageArray -online".

Parameters

StorageArray

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
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.

AddStoragePoolToManagement

Required? false
Accept Pipeline Input? false
Position? named
Enables management of a storage pool through VMM. When set to $True, VMM imports all logical unit objects hosted by the storage pool.

CreateStorageGroupsPerCluster

Required? false
Accept Pipeline Input? false
Position? named
Indicates whether a storage group is created for each cluster.

Description

Required? false
Accept Pipeline Input? false
Position? named
States a description for the specified object.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

LogicalUnitCopyMethod

Required? false
Accept Pipeline Input? false
Position? named
Specifies the method used by the array to copy an existing logical unit. Valid values: Clone, Snapshot.

Name

Required? false
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RemoveStoragePoolFromManagement

Required? false
Accept Pipeline Input? false
Position? named
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.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

StorageClassificationAssociation

Required? false
Accept Pipeline Input? false
Position? named
Specifies an array of storage classification objects that is associated with a storage pool.

Examples

1: Change the name of a storage array
PS C:\> $Array = @(Get-SCStorageArray)[0]
PS C:\> Set-SCStorageArray -StorageArray $Array -Name "New Name"
The first command gets the first item in the storage array and stores it in the $Array variable.

The second command changes the name of the storage array stored in the $Array variable to "New Name".

See Also