TestimoX

API Reference

Class

GpoDetailsQueryService

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

High-level queries that shape GPO details for presentation or flatten RSOP trace.

Inheritance

  • Object
  • GpoDetailsQueryService

Methods

public static IEnumerable<Object> GetAll(String domain, Result admx, Boolean includeAcl, Boolean trace, String scope, String categoryFilter, Boolean supportedOnly, Boolean raw, Boolean flatten) #
Returns: IEnumerable<Object>

Returns shaped details for all GPOs in a domain, with optional flattening and raw output.

Parameters

domain System.String requiredposition: 0
DNS domain name.
admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result requiredposition: 1
Resolved ADMX repository to map settings.
includeAcl System.Boolean requiredposition: 2
Include ACL data.
trace System.Boolean requiredposition: 3
Include RSOP trace.
scope System.String requiredposition: 4
Filter to "Computer", "User" or "Both" (case-insensitive).
categoryFilter System.String requiredposition: 5
Optional wildcard filter for category/policy names.
supportedOnly System.Boolean requiredposition: 6
When true, hide settings marked unsupported.
raw System.Boolean requiredposition: 7
When true, return raw GpoDetails instead of friendly view.
flatten System.Boolean requiredposition: 8
When true and trace is present, return a flattened row set.

Returns

Sequence of views or raw details (or flattened rows).

public static Object GetOneById(String domain, Guid id, Result admx, Boolean includeAcl, Boolean trace, String scope, String categoryFilter, Boolean supportedOnly, Boolean raw, Boolean flatten) #
Returns: Object

Returns shaped details (or flattened/raw) for a single GPO identified by GUID.

Parameters

domain System.String requiredposition: 0
DNS domain name.
id System.Guid requiredposition: 1
GPO identifier.
admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result requiredposition: 2
Resolved ADMX repository to map settings.
includeAcl System.Boolean requiredposition: 3
Include ACL data.
trace System.Boolean requiredposition: 4
Include RSOP trace.
scope System.String requiredposition: 5
Filter to "Computer", "User" or "Both".
categoryFilter System.String requiredposition: 6
Optional wildcard filter.
supportedOnly System.Boolean requiredposition: 7
When true, hide settings marked unsupported.
raw System.Boolean requiredposition: 8
When true, return raw model.
flatten System.Boolean requiredposition: 9
When true and trace exists, return flattened rows.

Returns

Friendly view, raw model, or flattened rows.

public static Object GetOneByName(String domain, String name, Result admx, Boolean includeAcl, Boolean trace, String scope, String categoryFilter, Boolean supportedOnly, Boolean raw, Boolean flatten) #
Returns: Object

Returns shaped details (or flattened/raw) for a single GPO identified by display name.

Parameters

domain System.String requiredposition: 0
DNS domain name.
name System.String requiredposition: 1
GPO display name.
admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result requiredposition: 2
Resolved ADMX repository to map settings.
includeAcl System.Boolean requiredposition: 3
Include ACL data.
trace System.Boolean requiredposition: 4
Include RSOP trace.
scope System.String requiredposition: 5
Filter to "Computer", "User" or "Both".
categoryFilter System.String requiredposition: 6
Optional wildcard filter.
supportedOnly System.Boolean requiredposition: 7
When true, hide settings marked unsupported.
raw System.Boolean requiredposition: 8
When true, return raw model.
flatten System.Boolean requiredposition: 9
When true and trace exists, return flattened rows.

Returns

Friendly view, raw model, or flattened rows.