|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcGpoGpResult
NAME
Get-NcGpoGpResult
SYNOPSIS
Get a list of entries of the GPO RSoP(Resultant Set of Policy) data.
SYNTAX
Get-NcGpoGpResult [[-Vserver] <String[]>] [[-Index] <String[]>] [[-Name] <St
ring[]>] [-Attributes <GpoGpresultInfo>] [-VserverContext <String>] [-Contro
ller <NcController[]>] [<CommonParameters>]
Get-NcGpoGpResult -Template [-VserverContext <String>] [-Controller <NcContr
oller[]>] [<CommonParameters>]
Get-NcGpoGpResult -Query <GpoGpresultInfo> [-Attributes <GpoGpresultInfo>] [
-VserverContext <String>] [-Controller <NcController[]>] [<CommonParameters>
]
DESCRIPTION
Get a list of entries of the GPO RSoP(Resultant Set of Policy) data.
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 <GpoGpresultInfo>
For improved scalability in large clusters, provide an GpoGpresultInfo o
bject with various fields set to indicate which fields to return on all
objects. Undesired fields should remain set to null. Use "Get-NcGpoGpR
esult -Template" to get the initially empty GpoGpresultInfo 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 GpoGpresultInfo object for use with advanced que
ries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <GpoGpresultInfo>
For advanced queries, provide an GpoGpresultInfo object with various fie
lds set to indicate which records to retrieve. Other fields should rema
in set to null. Use "Get-NcGpoGpResult -Template" to get the initially
empty GpoGpresultInfo 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.GpoGpresultInfo
NOTES
Category: gpo
API: gpo-gpresult-info-get-iter
Family: vserver, cluster
-------------- Example 1 --------------
C:\PS>Get-NcGpoGpResult
Get all of the entries of the GPO RSoP(Resultant Set of Policy) for the curr
ent cluster.
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}
GpoIndex : 0
GpoName : Default Domain Policy
GpoStatus : enabled
GpoUuid : 31b2f340-016d-11d2-945f-00c04fb984f9
Link : domain
NcController : 10.60.189.172
RegistryRefreshInterval :
RegistryRefreshRandomOffset :
SecurityKerberosClockSkew : 5
SecurityKerberosRenewalAge : 7
SecurityKerberosTicketAge : 10
SecurityPrivilegeTakeOwnership :
Version : 65540
Vserver : dlamotta01
GpoIndexSpecified : True
RegistryRefreshIntervalSpecified : False
RegistryRefreshRandomOffsetSpecified : False
SecurityKerberosClockSkewSpecified : True
SecurityKerberosRenewalAgeSpecified : True
SecurityKerberosTicketAgeSpecified : True
VersionSpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcGpoGpResult -Template
$q.GpoStatus = "disabled"
Get-NcGpoGpResult -Query $q
Get all of the GPO RSoP(Resultant Set of Policy) entries that are currently
disabled.
Dspath :
Extension :
Filesyspath :
GpoIndex : 1
GpoName : Resultant Set of Policy
GpoStatus : disabled
GpoUuid :
Link :
NcController : 10.60.189.172
RegistryRefreshInterval :
RegistryRefreshRandomOffset :
SecurityKerberosClockSkew : 5
SecurityKerberosRenewalAge : 7
SecurityKerberosTicketAge : 10
SecurityPrivilegeTakeOwnership :
Version :
Vserver : dlamotta01
GpoIndexSpecified : True
RegistryRefreshIntervalSpecified : False
RegistryRefreshRandomOffsetSpecified : False
SecurityKerberosClockSkewSpecified : True
SecurityKerberosRenewalAgeSpecified : True
SecurityKerberosTicketAgeSpecified : True
VersionSpecified : False
RELATED LINKS
Get-NcGpoApplied
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|