Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Remove-NaSnapvaultSoftlock


NAME
Remove-NaSnapvaultSoftlock

SYNOPSIS
Request the system to remove softlock for the given snapshot.

SYNTAX
Remove-NaSnapvaultSoftlock [-Volume] <String> [-Snapshot] <String> [[-Softlo
ckName] <String>] [-Controller <NaController>] [<CommonParameters>]


DESCRIPTION
Request the system to remove softlock for the given snapshot.


PARAMETERS
-Volume <String>
Name of the volume where the snapshot exists.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Snapshot <String>
Name of the snapshot for which softlock is to be removed.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-SoftlockName <String>
Name of softlock which uniquely identifies the softlock for the snapshot
. When not specified, softlock with default name will be removed. When
softlock name has value "-all", all softlocks on the snapshot will be r
emoved. Name of softlock can contain letters, numbers, and underscore c
haracter (_), and can be up to 64 characters long.

Required? false
Position? 3
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES


Category: snapvault
API: snapvault-remove-softlock

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

C:\PS>Remove-NaSnapvaultSoftlock vol0 vol0_sv_sched.3 -SoftlockName "-all"


Remove all softlocks from snapshot 'vol0_sv_sched.3' in volume 'vol0'.






RELATED LINKS
Add-NaSnapvaultSoftlock
Get-NaSnapvaultSoftlock
Get-NaSnapvaultSoftlockedSnapshot







 Data ONTAP® PowerShell Toolkit