|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcGpoApplied
NAME
Get-NcGpoApplied
SYNOPSIS
Get the list of entries of the applied GPO rules.
SYNTAX
Get-NcGpoApplied [[-Vserver] <String[]>] [[-Index] <String[]>] [[-Name] <Str
ing[]>] [-Attributes <GpoAppliedInfo>] [-VserverContext <String>] [-Controll
er <NcController[]>] [<CommonParameters>]
Get-NcGpoApplied -Template [-VserverContext <String>] [-Controller <NcContro
ller[]>] [<CommonParameters>]
Get-NcGpoApplied -Query <GpoAppliedInfo> [-Attributes <GpoAppliedInfo>] [-Vs
erverContext <String>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get the list of entries of the applied GPO rules.
PARAMETERS
-Vserver <String[]>
One or more Vserver display names. Data ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Index <String[]>
The index of the GPO in the GPO list of a Vserver. Data ONTAP wildcards
are permitted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Name <String[]>
GPO name in text format. Data ONTAP wildcards are permitted.
Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <GpoAppliedInfo>
For improved scalability in large clusters, provide an GpoAppliedInfo ob
ject with various fields set to indicate which fields to return on all o
bjects. Undesired fields should remain set to null. Use "Get-NcGpoAppl
ied -Template" to get the initially empty GpoAppliedInfo 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 GpoAppliedInfo object for use with advanced quer
ies involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <GpoAppliedInfo>
For advanced queries, provide an GpoAppliedInfo object with various fiel
ds set to indicate which records to retrieve. Other fields should remai
n set to null. Use "Get-NcGpoApplied -Template" to get the initially em
pty GpoAppliedInfo 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.Gpo.GpoAppliedInfo
NOTES
Category: gpo
API: gpo-applied-info-get-iter
Family: vserver, cluster
-------------- Example 1 --------------
C:\PS>Get-NcGpoApplied -Name "Default Domain Policy"
Get the default applied group policy.
Vserver : dlamotta01
GpoIndex : 0
NcController : 10.60.189.172
Dspath : CN={31B2F340-016D-11D2-945F-00C04FB98
4F9},CN=Policies,CN=System,DC=rtprre,DC=tes
tdomain
Extension : {registry, security}
Filesyspath : \\rtprre.testdomain\sysvol\rtprre.tes
tdomain\Policies\{31B2F340-016D-11D2-945F-0
0C04FB984F9}
GpoName : Default Domain Policy
GpoStatus : enabled
GpoUuid : 31b2f340-016d-11d2-945f-00c04fb984f9
Link : domain
RegistryRefreshInterval :
RegistryRefreshRandomOffset :
SecurityKerberosClockSkew : 5
SecurityKerberosRenewalAge : 7
SecurityKerberosTicketAge : 10
SecurityPrivilegeTakeOwnership :
Version :
GpoIndexSpecified : True
RegistryRefreshIntervalSpecified : False
RegistryRefreshRandomOffsetSpecified : False
SecurityKerberosClockSkewSpecified : True
SecurityKerberosRenewalAgeSpecified : True
SecurityKerberosTicketAgeSpecified : True
VersionSpecified : False
-------------- Example 2 --------------
C:\PS>$q = Get-NcGpoApplied -Template
$q.GpoStatus = "enabled"
Get-NcGpoApplied -Query $q
Get the applied group policies that are enabled.
Vserver : dlamotta01
GpoIndex : 0
NcController : 10.60.189.172
Dspath : CN={31B2F340-016D-11D2-945F-00C04FB98
4F9},CN=Policies,CN=System,DC=rtprre,DC=tes
tdomain
Extension : {registry, security}
Filesyspath : \\rtprre.testdomain\sysvol\rtprre.tes
tdomain\Policies\{31B2F340-016D-11D2-945F-0
0C04FB984F9}
GpoName : Default Domain Policy
GpoStatus : enabled
GpoUuid : 31b2f340-016d-11d2-945f-00c04fb984f9
Link : domain
RegistryRefreshInterval :
RegistryRefreshRandomOffset :
SecurityKerberosClockSkew : 5
SecurityKerberosRenewalAge : 7
SecurityKerberosTicketAge : 10
SecurityPrivilegeTakeOwnership :
Version :
GpoIndexSpecified : True
RegistryRefreshIntervalSpecified : False
RegistryRefreshRandomOffsetSpecified : False
SecurityKerberosClockSkewSpecified : True
SecurityKerberosRenewalAgeSpecified : True
SecurityKerberosTicketAgeSpecified : True
VersionSpecified : False
RELATED LINKS
Get-NcGpoGpResult
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|