TestimoX

API Reference

Class

LapsPolicyReader

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Reads Windows LAPS (and legacy LAPS) policy values from registry.pol.

Inheritance

  • Object
  • LapsPolicyReader

Methods

public static LapsPolicyInfo FromPol(PolFile pol, String domainName, Guid gpoId) #
Returns: LapsPolicyInfo

Extracts LAPS policy values from pol and returns a summary when present.

Parameters

pol ADPlayground.Gpo.GpoLocal.PolFile requiredposition: 0
Parsed registry.pol model.
domainName System.String requiredposition: 1
Domain DNS name.
gpoId System.Guid requiredposition: 2
GPO identifier.

Returns

LAPS policy info or null when no relevant settings are found.