I have an interesting problem running a APM script.
The script is design to monitor VSS on the servers and it works just fine against 2003 servers. However, when i running against 2008R2 the script returns incorrect results.
I have been able to trace the problem down to "ComputerName" argument. Since APM only able to pass ${IP} as an argument i have been using it and it work just fine for 2003.
However, 2008R2 refuses to execute this with the IP address as strServer:
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strServer & "\root\cimv2")
It just steps over it with out giving me any errors?
I'm experiencing the same result when running the script outside of APM.
I would appreciate any help!