Hi,
I need to test a value for a particular registry key. If this value equals 12.5.1000.767, I need the script to exit. If this key is missing, I need the script to perform a certain action. Can you provide some info, on how to script this.
It seems we can use the test-patch cmdlet.
PS C:\> Test-Path "HKLM:\SOFTWARE\Wow6432Node\ComputerAssociates\Unicenter ITRM"
True
Thanks