Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Get-ItemProperty

$
0
0

Hi,

I am using the Get-ItemProperty to verify the following registry key. I need to test, if InstallVersion = 12.5.1000.767.  How can I script this using powershell?

Get-ItemProperty "HKLM:\SOFTWARE\Wow6432Node\ComputerAssociates\Unicenter ITRM" InstallVersion

PSPath         : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ComputerAssociates\Unicen
                 er ITRM
PSParentPath   : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ComputerAssociates
PSChildName    : Unicenter ITRM
PSDrive        : HKLM
PSProvider     : Microsoft.PowerShell.Core\Registry
InstallVersion : 12.5.1000.767

Thanks


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>