Forum Discussion
TanyaYatskovska
Alumni
10 years agoHi Exdunepilot,
You need to specify the name of your computer instead of ComputerName in the code. For example:
GetObject ("WinMgmts:{impersonationLevel=impersonate}!//tanya/root/cimv2")
or
GetObject ("WinMgmts:{impersonationLevel=impersonate}!//localhost/root/cimv2")
Does it work for you now?