QuickTip: Additional PowerShell Registry drives

Sunday, May 16, 2010

Windows PowerShell provides access to the system registry via two PowerShell drives: HKLM and HKCU, which maps to the HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER registry hives respectively. PS > Get-PSDrive -PSProvider RegistryName Used (GB) Free (GB) Provider Root CurrentLocation---- --------- --------- -------- ---- ---------------HKCU Registry HKEY_CURRENT_USERHKLM ...