Get-EmcVnxeSnapshot
Gets the snapshots on connected VNXe systems. You can retrieve snapshots of a particular source LUN, LUN group, or file system with the Source parameter.
Note: This command is for VNXe3200 systems only.
Syntax
Get-EmcVnxeSnapshot [-ID <String>] [-StorageSystem <IStorageSystem>] [-IncludeLunSnapshots] [-IncludeLunGroupSnapshots] [-IncludeFileSystemSnapshots] [-Silent] [<CommonParameters>]
Get-EmcVnxeSnapshot [-ID <String>] [-Silent] -Source <Object> [<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the VNXe LUN group name or ID. Wildcards are permitted. It is a positional parameter (position = 1).
-StorageSystem <IStorageSystem>
Attributes: Optional, Position: named
Optional parameter, if omitted, the cmdlet returns results from all connected VNXe systems.
-IncludeLunSnapshots <SwitchParameter>
Attributes: Optional, Position: named
If specified, includes the LUN snapshots.
-IncludeLunGroupSnapshots <SwitchParameter>
Attributes: Optional, Position: named
If specified, includes LUN group snapshots.
-IncludeFileSystemSnapshots <SwitchParameter>
Attributes: Optional, Position: named
If specified, includes file system snapshots.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-Source <Object>
Attributes: Required, Position: named
If specified, includes the snapshots of the specified source LUN, LUN group, or file system.
<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>$ss = Get-EmcStorageSystem TestVNXe
Get-EmcVnxeSnapshot -StorageSystem $ss
Gets all snapshots from the specified storage system.
-------------- Example 2 --------------
C:\PS>$ss = Get-EmcStorageSystem TestVNXe
Get-EmcVnxeSnapshot -StorageSystem $ss -IncludeLunGroupSnapshots
Gets all LUN group snapshots from the specified storage system.
-------------- Example 3 --------------
C:\PS>$group = Get-EmcVnxeLunGroup TestLG
Get-EmcVnxeSnapshot -Source $group
Gets all snapshots of the specified LUN group.