API Reference
Class
GpoComparer
Provides methods to load and diff GPO backups or live GPOs.
Inheritance
- Object
- GpoComparer
Constructors
public GpoComparer() #Methods
public GpoBackupDiff Diff(GpoBackup left, GpoBackup right) #Returns:
GpoBackupDiffComputes the diff between two GPO backups.
Parameters
- left ADPlayground.Gpo.GpoBackup
- Left-hand backup for comparison.
- right ADPlayground.Gpo.GpoBackup
- Right-hand backup for comparison.
Load 3 overloads
public GpoBackup Load(GpoInfo gpo) #Returns:
GpoBackupLoads a GPO backup archive and returns file hashes for comparison.
Parameters
- archive System.IO.FileInfo
- Path to the backup archive.
public GpoBackup Load(DirectoryInfo directory, String displayName) #Returns:
GpoBackupLoads an unpacked GPO directory and returns file hashes for comparison.
Parameters
- directory System.IO.DirectoryInfo
- Directory containing GPO files.
- displayName System.String
- Display name of the GPO.