TestimoX

API Reference

Class

AdmxPolicyMappingService

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Maps raw Registry.pol entries to ADMX policy definitions (DisplayName/Category/element labels).

Inheritance

  • Object
  • AdmxPolicyMappingService

Methods

public static ValueTuple<IReadOnlyList<GpoPolicySettingDetail>, IReadOnlyList<GpoRegistryValueDetail>> Map(String domainName, Guid gpoId, RegistryPolicyScope scope, PolFile pol, AdmxDocument doc) #
Returns: ValueTuple<IReadOnlyList<GpoPolicySettingDetail>, IReadOnlyList<GpoRegistryValueDetail>>

Maps entries contained in a PolFile to ADMX policies in a compiled AdmxDocument.

Parameters

domainName System.String requiredposition: 0
DNS domain name owning the policy (used only for metadata fields). For offline/backup scenarios pass an empty string.
gpoId System.Guid requiredposition: 1
Source GPO identifier (used only for metadata fields). For offline/backup scenarios pass Empty.
scope ADPlayground.Gpo.Policy.RegistryPolicyScope requiredposition: 2
Policy scope for the input pol.
pol ADPlayground.Gpo.GpoLocal.PolFile requiredposition: 3
Loaded policy entries.
doc ADPlayground.Gpo.GpoLocal.AdmxDocument requiredposition: 4
Compiled ADMX/ADML document used for mapping.

Returns

Mapped policies and raw unknown registry values.