TestimoX

API Reference

Class

PolFileParser

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Parses Windows policy .pol files.

Inheritance

  • Object
  • PolFileParser

Methods

public static String ExportToReg(PolEntry entry) #
Returns: String

Exports the specified entry to .reg file format.

Parameters

entry ADPlayground.Gpo.GpoLocal.PolEntry requiredposition: 0
Entry to export.

Returns

Text of the .reg file.

public static IEnumerable<PolEntry> Parse(String path) #
Returns: IEnumerable<PolEntry>

Reads a .pol file and returns its entries. This now delegates to ComputerX.Lgpo.PolFile to keep a single implementation for parse/serialize across the solution.

Parameters

path System.String requiredposition: 0