Get Ivanti Environment Manager Config Version

Displays the currently installed Ivanti Application Control configuration.
Requires EM 10.1 FR1 or higher.
Version 1.1.3
Created on 2018-04-12
Modified on 2018-05-13
Created by Landon Winburn
Downloads: 57

The Script Copy Script Copied to clipboard
strComputer = "."
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSoftware = objWMIService.ExecQuery ("Select * from Win32_Product WHERE Name LIKE 'Ivanti Environment Manager Configuration%'")
Config = ""
For Each objSoftware in colSoftware
  Config = Replace(objSoftware.Caption, "Ivanti Environment Manager Configuration ", "")
  Wscript.Echo Config
Next
If Config = "" Then
  Wscript.Echo "EM config not installed."
End If