TestimoX

API Reference

Class

GpoLegacyAdmScanner

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Scans SYSVOL for legacy ADM files (pre-ADMX templates) and related artifacts such as admfiles.ini.

Inheritance

  • Object
  • GpoLegacyAdmScanner

Methods

public static IReadOnlyList<GpoLegacyAdmRow> GetLegacyFiles(String domainName, Guid gpoId, Int32 maxFiles = 10000, String gpoName = null) #
Returns: IReadOnlyList<GpoLegacyAdmRow>

Enumerates legacy ADM-related files under a GPO SYSVOL folder.

Parameters

domainName System.String requiredposition: 0
DNS domain name where the GPO resides.
gpoId System.Guid requiredposition: 1
GPO GUID (groupPolicyContainer objectGuid).
maxFiles System.Int32 = 10000 optionalposition: 2
Maximum number of files to return.
gpoName System.String = null optionalposition: 3
Optional display name to stamp on returned rows.
public static IReadOnlyList<GpoLegacyAdmRow> GetLegacyFilesForDomain(String domainName, Int32 maxFiles = 200000) #
Returns: IReadOnlyList<GpoLegacyAdmRow>

Enumerates legacy ADM-related files under the domain's SYSVOL Policies tree (across all GPOs).

Parameters

domainName System.String requiredposition: 0
DNS domain name owning the SYSVOL share.
maxFiles System.Int32 = 200000 optionalposition: 1
Maximum number of files to return.