|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaSnaplockLog
NAME
Get-NaSnaplockLog
SYNOPSIS
Get the status of the active WORM log files.
SYNTAX
Get-NaSnaplockLog [[-Volume] <String>] [[-Basename] <String>] [-Controller <
NaController>] [<CommonParameters>]
DESCRIPTION
Get the status of the active WORM log files.
PARAMETERS
-Volume <String>
The name of the volume that contains the WORM log files. This volume mus
t be a SnapLock Compliance volume. If the log volume is not specified, t
he log volume is considered to be the volume configured by the Set-NaSna
plockLogVolume command.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Basename <String>
The basename of the WORM log file. If the log basename is not specified,
the status of all the active WORM log files in this volume are returned
.
Required? false
Position? 2
Default value
Accept pipeline input? false
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
DataONTAP.Types.Snaplock.LogFileInfo
NOTES
API: snaplock-log-status-list-info
Category: snaplock
-------------- Example 1 --------------
C:\PS>Get-NaSnaplockLog
Get all active WORM log files.
LogVolume LogBasename LogFilename
FileSize
--------- ----------- -----------
--------
snaplock_vol2 system_log system_log.20110614_133736_GMT-p
resent 574
snaplock_vol2 priv_delete priv_delete.20110614_133736_GMT-
present 6KB
RELATED LINKS
New-NaSnaplockLog
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|