API Reference
Class
PolicyRulesService
Parser and converter for Microsoft Policy Analyzer .PolicyRules XML.
Inheritance
- Object
- PolicyRulesService
Methods
public static PolicyRulesDocument Parse(String path) #Returns:
PolicyRulesDocumentParses a Microsoft Policy Analyzer .PolicyRules XML into a typed document.
Parameters
- path System.String
- Path to a .PolicyRules XML file.
Returns
Parsed PolicyRulesDocument.
public static PolFile ToPol(PolicyRulesDocument rules, RegistryPolicyScope scope) #Returns:
PolFileConverts a PolicyRulesDocument to a PolFile for a given target scope (Machine/User).
Parameters
- rules ADPlayground.Gpo.GpoLocal.PolicyRulesDocument
- scope ADPlayground.Gpo.Policy.RegistryPolicyScope