exdunepilot
8 years agoContributor
WMI.Service is null or not an object
Calling the TC WMI.Service object or using GetObject ("WinMgmts:{impersonationLevel=impersonate}!//ComputerName/root/cimv2") yield a "null or not an object" error after calling a "WMI" method such as InstanceOf or ExecQuery etc. I have followed TC Help "Working with WMI Objects in Scripts" and believe all settings are in place. Also, using wbemtest.exe all classes and methods are displayed as expected and should be available for use. Thx!