TestimoX

API Reference

Class

AdmxExplorerExportService

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Builds a JSON-ready ADMX export document from Central Store or local PolicyDefinitions data.

Inheritance

  • Object
  • AdmxExplorerExportService

Methods

public static AdmxExplorerExport Build(String admxDirectory = null, String domainName = null, String language = null, IReadOnlyList<AdmxExplorerSourcePackageMetadata> sourcePackageMetadata = null) #
Returns: AdmxExplorerExport

Builds an explorer-friendly export document using ADMX data resolved from the specified repository or domain context.

Parameters

admxDirectory System.String = null optionalposition: 0
Optional explicit PolicyDefinitions directory. When omitted, discovery prefers the domain Central Store or local PolicyDefinitions.
domainName System.String = null optionalposition: 1
Optional domain name used for Central Store discovery when admxDirectory is omitted.
language System.String = null optionalposition: 2
Preferred ADML language (for example, en-US).
sourcePackageMetadata System.Collections.Generic.IReadOnlyList{ADPlayground.Gpo.GpoLocal.AdmxExplorerSourcePackageMetadata} = null optionalposition: 3
Optional package-level metadata used by split bundle exports.

Returns

Typed export document ready for JSON serialization.