API Reference
Class
AdmxPolicyMappingService
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
- DNS domain name owning the policy (used only for metadata fields). For offline/backup scenarios pass an empty string.
- gpoId System.Guid
- Source GPO identifier (used only for metadata fields). For offline/backup scenarios pass Empty.
- scope ADPlayground.Gpo.Policy.RegistryPolicyScope
- Policy scope for the input pol.
- pol ADPlayground.Gpo.GpoLocal.PolFile
- Loaded policy entries.
- doc ADPlayground.Gpo.GpoLocal.AdmxDocument
- Compiled ADMX/ADML document used for mapping.
Returns
Mapped policies and raw unknown registry values.