Bunch of functions to parse registry.pol files from Group Policies into human readable formats. Returns an array of strings in the format of [Key;Value;Type;Size;Data].
- Registry Policy File Format (learn.microsoft.com)
- Corrections to Microsoft documentation about the Registry Policy (registry.pol) File Format (aaron-margosis.medium.com)
- Registry value types (learn.microsoft.com)
$entries = @()
$entries = ParseRegPol "/path/to/registry.pol"