Enumerating Registry Keys
Enumerating Registry Keys To enumerate all subkeys in a Registry key, you might be using a line like this: PS> Dir HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall | Select-Object -expand PSPath Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AddressBook Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Connection Manager (…) It will return the PowerShell-style path including the provider name, not just the Registry path. If you used the -Name parameter, on the other… Continue reading Enumerating Registry Keys