Showing posts with label rename-itemproperty. Show all posts
Showing posts with label rename-itemproperty. Show all posts

Monday, January 19, 2009

rename existing registry key

to rename the PowerShellPath entry to "PSHome" and display the renamed value

PS> Rename-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion -Name PowerShellPath -NewName PSHome -passthru