PowerShellz

Retrieving RegKey Values in PowerShell

First set execution policy to unrestricted so that you can run scripts:

 Set-ExecutionPolicy Unrestricted 

Then you can save the following command to a file:

 Get-ChildItem HKCU:\Software\Microsoft\Office\11.0\Word | ForEach-Object {Get-ItemProperty $_.pspath} 

The example above will retrive the MS Word 2003 registry key values for the current user.