TestimoX

API Reference

Class

AdmxExtractService

Namespace ADPlayground.Gpo.GpoLocal
Assembly ADPlayground
Modifiers static

Extracts ADMX/ADML content from common archive formats (ZIP cross‑platform; CAB on Windows via expand.exe).

Inheritance

  • Object
  • AdmxExtractService

Methods

public static IReadOnlyList<String> Extract(String archivePath, String destinationDirectory) #
Returns: IReadOnlyList<String>

Extracts the given archive into the destination directory.

Parameters

archivePath System.String requiredposition: 0
Path to a ZIP or CAB file.
destinationDirectory System.String requiredposition: 1
Destination directory for extracted content.

Returns

List of extracted file paths.

Exceptions

  • PlatformNotSupportedException – Thrown when extracting a CAB on a non‑Windows platform.
  • InvalidOperationException – Thrown when expand.exe fails to extract CAB contents.