:::: MENU ::::

MY PS

$RESGUIDPATH = ‘HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6C3683DE-A9F3-4BFA-BDF4-337860D52039}’

If((Test-Path $RESGUIDPATH) -eq $true){

$RESGUIDINFO = (Get-ItemProperty -Path $RESGUIDPATH)

If(($RESGUIDINFO.DisplayName -eq ‘RES ONE Workspace 2016 SR1 Agent’ `
-and $RESGUIDINFO.DisplayVersion -eq ‘9.12.1.0’) -or `
($RESGUIDINFO.DisplayName -eq ‘RES ONE Workspace 2016 SR1 Agent’ `
-and $RESGUIDINFO.DisplayVersion -eq ‘9.12.1.2’))

{Write-Host ‘Installed’}

Else {}

}

Else{}

#######################


So, what do you think ?