Gets all storage groups for the specified VMAX storage system.
Syntax
Get-EmcVmaxStorageGroup [-ID <String>] -StorageSystem <IStorageSystem> [-Silent] [<CommonParameters>]
Get-EmcVmaxStorageGroup [-ID <String>] [-Silent] -VmaxFastVpPolicy <VmaxFastVpPolicy> [<CommonParameters>]
Get-EmcVmaxStorageGroup [-ID <String>] [-Silent] -Lun <Lun> [<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the VMAX storage group ID. Wildcards are permitted. It is a positional parameter (position = 1).
-StorageSystem <IStorageSystem>
Attributes: Required, Position: named
Specifies the storage system object. You can add the storage system object to ESI with the Get-EmcStorageSystemCredential and Connect-EmcSystem cmdlets. You can get the storage system object with the Get-EmcStorageSystem cmdlet.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-VmaxFastVpPolicy <VmaxFastVpPolicy>
Attributes: Required, Position: named
Specifies the ESI FAST VP policy system object. You can get the FAST VP policy system object with the Get-EmcFastVpPolicy cmdlet.
-Lun <Lun[]>
Attributes: Required, Position: named
Specifies the list of ESI LUN objects. You can get a LUN object with the ESI storage system object or Get-EmcLun cmdlet. You can get unbound LUNs with the Get-EmcUnboundLun cmdlet.
<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>$storage = Get-EmcStorageSystem vmax348
C:\PS>Get-EmcVmaxStorageGroup -VmaxStorageSystem $storage
This example gets the storage groups for the specified VMAX storage system.
---------- Example 2 ----------
C:\PS>Getting storage system
$storage = Get-EmcStorageSystem vmax348
C:\PS>$policy=Get-EmcFastVpPolicy -StorageSystem $storage
C:\PS>Get-EmcVmaxStorageGroup -VmaxFastVpPolicy $policy
This example gets the FAST VP policies for the specified storage system and gets the storage groups associated to the specified FAST VP policy.