New-StorageGroupSnapshot
SYNOPSIS
Creates a snapshot of a storage group.
SYNTAX
New-StorageGroupSnapshot [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-StorageGroupId] <String>
[-SnapshotId] <String> [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Creates a new snapshot with the given ID. If the snapshot ID already exists for the storage group then a new snapshot will be created and will have a new snap ID.
Storage group snapshot operations are only supported for PowerMax arrays with microcode version 5978.669.669 or higher.
EXAMPLES
Example 1
PS C:\> New-StorageGroupSnapshot -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId sg1 -SnapshotId sg1snapshot
Where $unisphere is a Unisphere server instance. Creates a new snapshot with ID sg1snapshot.
PARAMETERS
-Unisphere
The Unisphere server object.
Type: UnisphereServer
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-ArrayId
The PowerMax array ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-StorageGroupId
The storage group ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-SnapshotId
The snapshot ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.