Get-UnitySnap
SYNOPSIS
Queries the EMC Unity array to retrieve informations about snapshots.
SYNTAX
Name (Default)
Get-UnitySnap [-session <Object>] [-Name <String[]>]
ID
Get-UnitySnap [-session <Object>] [-ID <String[]>]
DESCRIPTION
Queries the EMC Unity array to retrieve informations about snapshots. You need to have an active session with the array.
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
Get-UnitySnap
Retrieve information about Snap
-------------------------- EXAMPLE 2 --------------------------
Get-UnitySnap -Name 'SNAP01'
Retrieves information about snapshot named SNAP01
PARAMETERS
-session
Specifies an UnitySession Object.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
Accept pipeline input: False
Accept wildcard characters: False
-Name
Specifies the object name.
Type: String[]
Parameter Sets: Name
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-ID
Specifies the object ID.
Type: String[]
Parameter Sets: ID
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
INPUTS
OUTPUTS
NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE