TestimoX

API Reference

Class

PolicyRulesService

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Parser and converter for Microsoft Policy Analyzer .PolicyRules XML.

Inheritance

  • Object
  • PolicyRulesService

Methods

public static PolicyRulesDocument Parse(String path) #
Returns: PolicyRulesDocument

Parses a Microsoft Policy Analyzer .PolicyRules XML into a typed document.

Parameters

path System.String requiredposition: 0
Path to a .PolicyRules XML file.

Returns

Parsed PolicyRulesDocument.

public static PolFile ToPol(PolicyRulesDocument rules, RegistryPolicyScope scope) #
Returns: PolFile

Converts a PolicyRulesDocument to a PolFile for a given target scope (Machine/User).

Parameters

rules ADPlayground.Gpo.GpoLocal.PolicyRulesDocument requiredposition: 0
scope ADPlayground.Gpo.Policy.RegistryPolicyScope requiredposition: 1