PowerTip: Use PowerShell to Read Registry Key Property Value


Summary: Use Windows PowerShell to read a registry key property value.

Hey, Scripting Guy! Question How can I use Windows PowerShell to read a registry key property value so I can find the version of a particular software package?

Hey, Scripting Guy! Answer Use the Get-ItemProperty cmdlet, for example:

Get-ItemProperty -Path HKCU:\Software\ScriptingGuys\Scripts -Name version

Comments (1)

  1. Cody Konior says:

    For doing it remotely I recommend the PSRemoteRegistry module someone put together. It doesn’t require local admin like it suggests so you need to disable that check in its load but otherwise it works well.

Skip to main content