Creates a logical unit from unallocated capacity in a storage pool.
Description
The New-SCStorageLogicalUnit cmdlet creates a logical unit from unallocated capacity in a storage pool.
For more information about New-SCStorageLogicalUnit, type: "Get-Help New-SCStorageLogicalUnit -online".
Parameters
StorageLogicalUnit
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
0
Specifies a storage logical unit object.
Name
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies the name of a VMM object.
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.
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.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
SetLogicalUnitCopySource
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the specified storage logical unit is the source from which a clone is copied.
VMMServer
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a VMM server object.
StoragePool
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
0
Specifies a storage pool object.
Name
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies the name of a VMM object.
Description
Required?
false
Accept Pipeline Input?
false
Position?
named
States a description for the specified object.
DiskSizeMB
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies, in megabytes (MB), the size of a disk.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
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.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
The first command gets the storage logical unit object named LUN01 and stores the object in the $SourceLU variable.
The second command creates a new logical unit named NewLU by cloning LUN01.