TestimoX

API Reference

Class

AdmxPerPolicyExporter

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Exports a single ADMX policy (with state and optional element options) to a .reg text.

Inheritance

  • Object
  • AdmxPerPolicyExporter

Methods

public static String ToReg(PolicyDefinition policy, PolicyState state, IDictionary<String, Object> elementOptions) #
Returns: String

Builds .reg file text for a specific policy state using ADMX semantics.

Parameters

policy ADPlayground.Gpo.GpoLocal.PolicyDefinition requiredposition: 0
state ADPlayground.Gpo.GpoLocal.PolicyState requiredposition: 1
elementOptions System.Collections.Generic.IDictionary{System.String,System.Object} requiredposition: 2