|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcFileserviceAudit
NAME
Get-NcFileserviceAudit
SYNOPSIS
Get audit configuration details.
SYNTAX
Get-NcFileserviceAudit [[-Vserver] <String[]>] [-Attributes <FileserviceAudi
tConfig>] [-VserverContext <String>] [-Controller <NcController[]>] [<Common
Parameters>]
Get-NcFileserviceAudit -Template [-VserverContext <String>] [-Controller <Nc
Controller[]>] [<CommonParameters>]
Get-NcFileserviceAudit -Query <FileserviceAuditConfig> [-Attributes <Fileser
viceAuditConfig>] [-VserverContext <String>] [-Controller <NcController[]>]
[<CommonParameters>]
DESCRIPTION
Get audit configuration details.
PARAMETERS
-Vserver <String[]>
Restrict results to the specified vserver(s). Data ONTAP wildcards are
permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <FileserviceAuditConfig>
For improved scalability in large clusters, provide a FileserviceAuditCo
nfig object with various fields set to indicate which fields to return o
n all objects. Undesired fields should remain set to null. Use "Get-Nc
FileserviceAudit -Template" to get the initially empty FileserviceAuditC
onfig object. If not specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty FileserviceAuditConfig object for use with advan
ced queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <FileserviceAuditConfig>
For advanced queries, provide a FileserviceAuditConfig object with vario
us fields set to indicate which records to retrieve. Other fields shoul
d remain set to null. Use "Get-NcFileserviceAudit -Template" to get the
initially empty FileserviceAuditConfig object.
Required? true
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.C.Types.FileserviceAudit.FileserviceAuditConfig
NOTES
Category: fileservice audit
API: fileservice-audit-config-get-iter
Family: cluster,vserver
-------------- Example 1 --------------
C:\PS>Get-NcFileserviceAudit
Get the fileservice audit configurations for all Vservers in the cluster.
AuditGuarantee : True
Destination : /hashes
IsEnabled : False
NcController : 10.63.165.62
RotateLimit : 0
RotateScheduleDay : {1}
RotateScheduleDayofweek : {-1}
RotateScheduleHour : {0}
RotateScheduleMinute : {5}
RotateScheduleMonth : {-1}
RotateSize :
RotationScheduleDescription : 1@0:05
Vserver : beam01
AuditGuaranteeSpecified : True
IsEnabledSpecified : True
RotateLimitSpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcFileserviceAudit -Template
$q.IsEnabled = $false
Get-NcFileserviceAudit -Query $q
Get all of the fileservice audit configurations that are currently disabled.
AuditGuarantee : True
Destination : /hashes
IsEnabled : False
NcController : 10.63.165.62
RotateLimit : 0
RotateScheduleDay : {1}
RotateScheduleDayofweek : {-1}
RotateScheduleHour : {0}
RotateScheduleMinute : {5}
RotateScheduleMonth : {-1}
RotateSize :
RotationScheduleDescription : 1@0:05
Vserver : beam01
AuditGuaranteeSpecified : True
IsEnabledSpecified : True
RotateLimitSpecified : True
RELATED LINKS
New-NcFileserviceAudit
Set-NcFileserviceAudit
Remove-NcFileserviceAudit
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|