none
Get-ItemProperty RRS feed

  • Question

  • 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

    Tuesday, February 25, 2014 9:22 PM

Answers

All replies