Showing posts with label set-location. Show all posts
Showing posts with label set-location. Show all posts

Monday, January 19, 2009

change system's prompt

to change to the CurrentVersion registry container

PS> Set-Location -Path hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion

Change from original prompt
`PS C:\Lindows\co\Administrator>`

to

new prompt
`PS HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion>`

Sunday, January 18, 2009

access HKLM registry

to set your location (prompt) to the HKLM\Software key in the registry key

PS> set-location -path HKLM:\software -passthru

Path
----
HKLM:\software


PS HKLM:\software>