|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaSnapshotAutodelete
NAME
Get-NaSnapshotAutodelete
SYNOPSIS
Returns the current snapshot autodelete settings.
SYNTAX
Get-NaSnapshotAutodelete [-TargetName] <String> [-Controller <NaController>]
[<CommonParameters>]
DESCRIPTION
Returns the current snapshot autodelete settings.
PARAMETERS
-TargetName <String>
Name of the existing volume for which we want snapshot autodelete settin
gs.
Required? true
Position? 1
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
NetApp.Ontapi.Filer.Snapshot.SnapshotAutodeleteInfo
NOTES
Category: snapshot
API: snapshot-autodelete-list-info
-------------- Example 1 --------------
C:\PS>Get-NaSnapshotAutodelete vol0
Get autodelete settings for volume 'vol0'.
OptionName OptionValue
---------- -----------
state off
commitment try
trigger volume
target_free_space 20
delete_order oldest_first
defer_delete user_created
destroy_list none
RELATED LINKS
Set-NaSnapshotAutodelete
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|