to add a new entry named 'PowerShellPath' to the CurrentVersion key, and return information about the new entry
PS> New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion -Name PowerShellPath -PropertyType String -Value $PSHome
PowerShellPath
--------------
C:\LINDOWS\system32\WindowsPowerShell\v1.0\
Monday, January 19, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment