TestimoX

API Reference

Class

GpoPolicyOnDiskCache

Namespace ADPlayground.Gpo.Policy
Assembly ADPlayground
Modifiers static

Lightweight, opt-in, file-backed cache for parsed GPO policy artifacts to reduce repeated SYSVOL parsing. Disabled by default; when enabled, caches per-GPO results keyed by source file (mtime + size).

Inheritance

  • Object
  • GpoPolicyOnDiskCache

Methods

public static Void Configure(Boolean enabled, String directory) #
Returns: Void

Enables or disables the on-disk GPO policy cache and sets the root directory. Callers from other assemblies (e.g., TestimoX) use this to opt-in at runtime.

Parameters

enabled System.Boolean requiredposition: 0
True to enable the cache; false to disable.
directory System.String requiredposition: 1
Optional cache directory. When null or empty, a default under the current working directory is used.