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

No comments:

Post a Comment