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.
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.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Indicates whether a storage group is created for each cluster.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
States a description for the specified object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Indicates that the cmdlet performs a level 3 discovery of physical disks.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies that job progress is tracked and stored in the variable named by this parameter.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the method used by the array to copy an existing logical unit. Valid values: Clone, Snapshot.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the maximum length that the name for a logical unit can be.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the name of a VMM object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
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.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
Specifies an array of storage classification objects that is associated with a storage pool.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
- StorageArray
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"