API Reference
Class
GpoRestoreService
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
- Zip archive produced by CancellationToken).
- options ADPlayground.Gpo.GpoRestoreService.Options = null
- Optional restore settings.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Reference to the created GPO (new GUID by default).