TestimoX

API Reference

Class

GpoRestoreService

Namespace ADPlayground.Gpo
Assembly ADPlayground
Modifiers static

Restores a GPO from an ADPlayground COM-free backup archive created by GpoBackupService.

Inheritance

  • Object
  • GpoRestoreService

Methods

public static Task<GpoRef> RestoreAsync(FileInfo archive, Options options = null, CancellationToken cancellationToken = null) #
Returns: Task<GpoRef>

Restores a GPO from a backup archive.

Parameters

archive System.IO.FileInfo requiredposition: 0
Zip archive produced by CancellationToken).
options ADPlayground.Gpo.GpoRestoreService.Options = null optionalposition: 1
Optional restore settings.
cancellationToken System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.

Returns

Reference to the created GPO (new GUID by default).