Fix non-functioning code
This commit is contained in:
parent
87d7aa36c0
commit
a1b8e9d9aa
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ class Context {
|
|||
$userKey = Get-Item "HKCU:\";
|
||||
}
|
||||
|
||||
Push-Location $userKey;
|
||||
$result = Get-Item "$userKey\Software\Microsoft\Windows\CurrentVersion\RunOnce";
|
||||
Push-Location $userKey.PSPath;
|
||||
$result = Get-Item "Software\Microsoft\Windows\CurrentVersion\RunOnce";
|
||||
Pop-Location;
|
||||
return $result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue