Hi All,
I have written a VBScript to check for the status of a service and output to a text file. This script will run againt a list of servers. When I tested the script, I found it hangs in the below line:
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
This is happening when running against a Windows 2000 Advanced Server. On other Windows Server 2003 machines it runs successfully.
Please suggest.
I have written a VBScript to check for the status of a service and output to a text file. This script will run againt a list of servers. When I tested the script, I found it hangs in the below line:
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
This is happening when running against a Windows 2000 Advanced Server. On other Windows Server 2003 machines it runs successfully.
Please suggest.