TestimoX

API Reference

Class

GppParserService

Namespace ADPlayground.Gpo.Preferences
Assembly ADPlayground
Modifiers static

Provides methods to parse GPP XML files into strongly typed summaries.

Inheritance

  • Object
  • GppParserService

Methods

public static GpoPreferencesSummary Parse(String gpoSysvolPath, GpoTargetComputerContext context = null, Boolean throwOnXmlReadFailure = false, String scopeFilter = null) #
Returns: GpoPreferencesSummary

Parses a GPO's SYSVOL path for Group Policy Preferences and returns a consolidated summary.

Parameters

gpoSysvolPath System.String requiredposition: 0
Absolute path to the GPO directory under SYSVOL.
context ADPlayground.Gpo.Policy.GpoTargetComputerContext = null optionalposition: 1
Optional target computer context used for evaluating Item Level Targeting (ILT).
throwOnXmlReadFailure System.Boolean = false optionalposition: 2
When true, Registry preference XML read or parse failures are surfaced to callers that must distinguish unreadable Registry preference data from absent Registry preference data.
scopeFilter System.String = null optionalposition: 3
Optional preference scope filter. Use Computer or User when callers are evaluating only one GPO scope.

Returns

A populated GpoPreferencesSummary when preferences are found; otherwise null.