|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcFileDirectorySecurityPolicyTask
NAME
Get-NcFileDirectorySecurityPolicyTask
SYNOPSIS
Get information about one or more policy tasks.
SYNTAX
Get-NcFileDirectorySecurityPolicyTask [[-Name] <String[]>] [[-Path] <String[
]>] [-Vserver <String[]>] [-Attributes <FileDirectorySecurityPolicyTask>] [-
VserverContext <String>] [-Controller <NcController[]>] [<CommonParameters>]
Get-NcFileDirectorySecurityPolicyTask -Template [-VserverContext <String>] [
-Controller <NcController[]>] [<CommonParameters>]
Get-NcFileDirectorySecurityPolicyTask -Query <FileDirectorySecurityPolicyTas
k> [-Attributes <FileDirectorySecurityPolicyTask>] [-VserverContext <String>
] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get information about one or more policy tasks. Policy is a container for ta
sks and a task associates a file/folder path name and the security descripto
r that needs to be set on the file/folder. Every task in a policy is uniquel
y identified by the file/folder path. Policy can't have duplicate task entri
es and there is only one task per path.
PARAMETERS
-Name <String[]>
Get one or more policy names. Data ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Path <String[]>
One or more file or folder paths of a task. Data ONTAP wildcards are pe
rmitted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Vserver <String[]>
Restrict results to the specified vserver(s). Data ONTAP wildcards are
permitted.")]
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <FileDirectorySecurityPolicyTask>
For improved scalability in large clusters, provide an FileDirectorySecu
rityPolicyTask object with various fields set to indicate which fields t
o return on all objects. Undesired fields should remain set to null. U
se "Get-NcFileDirectorySecurityPolicyTask -Template" to get the initiall
y empty FileDirectorySecurityPolicyTask object. If not specified, all d
ata 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 FileDirectorySecurityPolicyTask object for use w
ith advanced queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <FileDirectorySecurityPolicyTask>
For advanced queries, provide an FileDirectorySecurityPolicyTask object
with various fields set to indicate which records to retrieve. Other fi
elds should remain set to null. Use "Get-NcFileDirectorySecurityPolicyT
ask -Template" to get the initially empty FileDirectorySecurityPolicyTas
k 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.FileDirectorySecurity.FileDirectorySecurityPolicyTask
NOTES
Category: file directory security
API: file-directory-security-policy-task-get-iter
Family: cluster,vserver
-------------- Example 1 --------------
C:\PS>Get-NcFileDirectorySecurityPolicyTask -Name policy_1
Get the security policy tasks for security policy policy_1.
NtfsMode : propagate
NtfsSd : ntfssd
Path : /powershell/cifs
PolicyName : policy_1
SecurityType : ntfs
TaskIndexNumber : 1
Vserver : beam01
TaskIndexNumberSpecified : True
RELATED LINKS
Add-NcFileDirectorySecurityPolicyTask
Remove-NcFileDirectorySecurityPolicyTask
Set-NcFileDirectorySecurityPolicyTask
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|