TestimoX

API Reference

Class

GpoDetailsService

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Builds a rich, typed description of a GPO including links and ADMX-mapped settings.

Inheritance

  • Object
  • GpoDetailsService

Methods

public static Void ClearCaches() #
Returns: Void

Clears 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: GpoDetails

Retrieves a detailed GpoDetails view for a GPO by ID using an ADMX directory path.

Parameters

domainName System.String requiredposition: 0
Owning DNS domain.
gpoId System.Guid requiredposition: 1
GPO GUID.
admxDirectory System.String requiredposition: 2
Path to ADMX/ADML policy definitions (or Central Store); used for mapping.
language System.String = null optionalposition: 3
Optional language (e.g., "en-US").
includeAcl System.Boolean = false optionalposition: 4
When true, includes AD and SYSVOL ACL snapshots.
includeTrace System.Boolean = false optionalposition: 5
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: GpoDetails

Retrieves GpoDetails for a GPO by ID using a pre‑resolved ADMX locator result.

Parameters

domainName System.String requiredposition: 0
Owning DNS domain.
gpoId System.Guid requiredposition: 1
GPO GUID.
admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result requiredposition: 2
Resolved ADMX/ADML sources (Central Store or local path).
includeAcl System.Boolean = false optionalposition: 3
When true, includes AD and SYSVOL ACL snapshots.
includeTrace System.Boolean = false optionalposition: 4
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: GpoDetails

Retrieves a detailed GpoDetails view for a GPO by display name using an ADMX directory path.

Parameters

domainName System.String requiredposition: 0
Owning DNS domain.
gpoName System.String requiredposition: 1
GPO display name.
admxDirectory System.String requiredposition: 2
Path to ADMX/ADML policy definitions (or Central Store).
language System.String = null optionalposition: 3
Optional language (e.g., "en-US").
includeAcl System.Boolean = false optionalposition: 4
When true, includes AD and SYSVOL ACL snapshots.
includeTrace System.Boolean = false optionalposition: 5
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: GpoDetails

Retrieves GpoDetails for a GPO by display name using a pre‑resolved ADMX locator result.

Parameters

domainName System.String requiredposition: 0
Owning DNS domain.
gpoName System.String requiredposition: 1
GPO display name.
admx ADPlayground.Gpo.GpoLocal.AdmxLocator.Result requiredposition: 2
Resolved ADMX/ADML sources.
includeAcl System.Boolean = false optionalposition: 3
When true, includes AD and SYSVOL ACL snapshots.
includeTrace System.Boolean = false optionalposition: 4
When true, includes RSOP-like mapping diagnostics.