Skip to content

Instantly share code, notes, and snippets.

View Quiquex's full-sized avatar
👺

Quiquex

👺
View GitHub Profile
$path = 'HKCU:\SOFTWARE\Wizards Of The Coast\MTGA';
$key = Get-Item $path
$namevalues = $key | Select-Object -ExpandProperty Property |
ForEach-Object {
[PSCustomObject] @{
Name = $_;
Value = $key.GetValue($_)
}
}