API Reference
Class
GpoDetailsService
Builds a rich, typed description of a GPO including links and ADMX-mapped settings.
Inheritance
- Object
- GpoDetailsService
Methods
public static Void ClearCaches() #Returns:
VoidClears per-process caches used by GpoDetailsService. Safe to call between top-level operations to free memory or force fresh LDAP reads.
GetById 2 overloads
public static GpoDetails GetById(String domainName, Guid gpoId, String admxDirectory, String language = null, Boolean includeAcl = false, Boolean includeTrace = false) #Returns:
GpoDetailsRetrieves a detailed GpoDetails view for a GPO by ID using an ADMX directory path.
Parameters
- domainName System.String
- Owning DNS domain.
- gpoId System.Guid
- GPO GUID.
- admxDirectory System.String
- Path to ADMX/ADML policy definitions (or Central Store); used for mapping.
- language System.String = null
- Optional language (e.g., "en-US").
- includeAcl System.Boolean = false
- When true, includes AD and SYSVOL ACL snapshots.
- includeTrace System.Boolean = false
- When true, includes RSOP-like mapping diagnostics.
Returns
Rich GPO details or null if not found.
public static GpoDetails GetById(String domainName, Guid gpoId, Result admx, Boolean includeAcl = false, Boolean includeTrace = false) #Returns:
GpoDetailsRetrieves GpoDetails for a GPO by ID using a pre‑resolved ADMX locator result.
Parameters
- domainName System.String
- Owning DNS domain.
- gpoId System.Guid
- GPO GUID.
- admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result
- Resolved ADMX/ADML sources (Central Store or local path).
- includeAcl System.Boolean = false
- When true, includes AD and SYSVOL ACL snapshots.
- includeTrace System.Boolean = false
- When true, includes RSOP-like mapping diagnostics.
GetByName 2 overloads
public static GpoDetails GetByName(String domainName, String gpoName, String admxDirectory, String language = null, Boolean includeAcl = false, Boolean includeTrace = false) #Returns:
GpoDetailsRetrieves a detailed GpoDetails view for a GPO by display name using an ADMX directory path.
Parameters
- domainName System.String
- Owning DNS domain.
- gpoName System.String
- GPO display name.
- admxDirectory System.String
- Path to ADMX/ADML policy definitions (or Central Store).
- language System.String = null
- Optional language (e.g., "en-US").
- includeAcl System.Boolean = false
- When true, includes AD and SYSVOL ACL snapshots.
- includeTrace System.Boolean = false
- When true, includes RSOP-like mapping diagnostics.
Returns
Rich GPO details or null if not found.
public static GpoDetails GetByName(String domainName, String gpoName, Result admx, Boolean includeAcl = false, Boolean includeTrace = false) #Returns:
GpoDetailsRetrieves GpoDetails for a GPO by display name using a pre‑resolved ADMX locator result.
Parameters
- domainName System.String
- Owning DNS domain.
- gpoName System.String
- GPO display name.
- admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result
- Resolved ADMX/ADML sources.
- includeAcl System.Boolean = false
- When true, includes AD and SYSVOL ACL snapshots.
- includeTrace System.Boolean = false
- When true, includes RSOP-like mapping diagnostics.