New-EmcStandbyLun

Creates one or more standby LUNs on a VMAX storage system.

 

Syntax

New-EmcStandByLun -StorageSystem <IVmaxStorageSystem2> -Count <UInt32> -Capacity <UInt64> [-Silent] [<CommonParameters>]

 

Parameters

-StorageSystem <IVmaxStorageSystem2>

Attributes: Required, Position: named, Accepts pipeline input (by value)

Specifies the VMAX storage system object.

 

-Count <UInt32>

Attributes: Required, Position: named

Specifies the number of standby LUNs.

 

-Capacity <UInt64>

Attributes: Required, Position: named

Specifies the capacity of the standby LUNs.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

<CommonParameters>

This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.

 

Examples

-------------- Example 1 --------------

C:\PS>$sys=Get-EmcStorageSystem -SystemType VMAX

C:\PS>$standbyLun=New-EmcStandByLun -StorageSystem $sys -Count 2 -Capacity 2gb

Creating 2 standby LUNs...

This example creates two LUNs with the specified storage and capacity.