API Reference
Class
GpoDetailsQueryService
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
- DNS domain name.
- admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result
- Resolved ADMX repository to map settings.
- includeAcl System.Boolean
- Include ACL data.
- trace System.Boolean
- Include RSOP trace.
- scope System.String
- Filter to "Computer", "User" or "Both" (case-insensitive).
- categoryFilter System.String
- Optional wildcard filter for category/policy names.
- supportedOnly System.Boolean
- When true, hide settings marked unsupported.
- raw System.Boolean
- When true, return raw GpoDetails instead of friendly view.
- flatten System.Boolean
- 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:
ObjectReturns shaped details (or flattened/raw) for a single GPO identified by GUID.
Parameters
- domain System.String
- DNS domain name.
- id System.Guid
- GPO identifier.
- admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result
- Resolved ADMX repository to map settings.
- includeAcl System.Boolean
- Include ACL data.
- trace System.Boolean
- Include RSOP trace.
- scope System.String
- Filter to "Computer", "User" or "Both".
- categoryFilter System.String
- Optional wildcard filter.
- supportedOnly System.Boolean
- When true, hide settings marked unsupported.
- raw System.Boolean
- When true, return raw model.
- flatten System.Boolean
- 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:
ObjectReturns shaped details (or flattened/raw) for a single GPO identified by display name.
Parameters
- domain System.String
- DNS domain name.
- name System.String
- GPO display name.
- admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result
- Resolved ADMX repository to map settings.
- includeAcl System.Boolean
- Include ACL data.
- trace System.Boolean
- Include RSOP trace.
- scope System.String
- Filter to "Computer", "User" or "Both".
- categoryFilter System.String
- Optional wildcard filter.
- supportedOnly System.Boolean
- When true, hide settings marked unsupported.
- raw System.Boolean
- When true, return raw model.
- flatten System.Boolean
- When true and trace exists, return flattened rows.
Returns
Friendly view, raw model, or flattened rows.