<< Back to Script Library

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: 2018-04-12
Modified: 2018-05-13
Creator: Landon Winburn
Downloads: 52
Tags:
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