Merge pull request #1636 from jhawkesworth/win_regedit_extra_drives

Windows: win_regedit; Add extra Powershell Drives so you can access other parts of the registry
reviewable/pr18780/r1
Matt Davis 9 years ago
commit 14530ef5ef

@ -21,6 +21,10 @@ $ErrorActionPreference = "Stop"
# WANT_JSON
# POWERSHELL_COMMON
New-PSDrive -PSProvider registry -Root HKEY_CLASSES_ROOT -Name HKCR -ErrorAction SilentlyContinue
New-PSDrive -PSProvider registry -Root HKEY_USERS -Name HKU -ErrorAction SilentlyContinue
New-PSDrive -PSProvider registry -Root HKEY_CURRENT_CONFIG -Name HCCC -ErrorAction SilentlyContinue
$params = Parse-Args $args;
$result = New-Object PSObject;
Set-Attr $result "changed" $false;

Loading…
Cancel
Save