Wednesday, May 1, 2013

Test If DELL OMSA Is Installed And Running As Well As The Version


Below is a .vbs script that you can run to test if DELL OMSA in installed and running as well as the version that is registered and running on the system.You will see 4 windows that indicate that the software is working correctly.

strComputer = "."
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=Impersonate}!\\" & strComputer & "\root\cimv2\dell")
Set colDellObjs = objWMIService.ExecQuery ("Select * from Dell_SoftwareFeature")
For each DellAttribute in colDellObjs
Wscript.Echo "Identifying Number: " & DellAttribute.IdentifyingNumber
Wscript.Echo "Product Name: " & DellAttribute.ProductName
Wscript.Echo "Vendor: " & DellAttribute.Vendor
Wscript.Echo "OMSA Version: " & DellAttribute.Version
Next
Wscript.quit


No comments:

Post a Comment