Using LDAPMBS to pull all computer names from Active Directory and then using these computer names to pull uptime information.
While I have both processes working, when there is an issue connecting to a particular computer there is a long delay before the connection attempt times out. I cannot figure out how to change the timeout or to more efficiently move on to the next computer after the error state is encountered.
I'm using LDAPMBS to grab the computer names. No problems here.
For uptime gathering, I have tried OLEOBJECT (WMI) and WindowsWMIMBS. Both are working, but I can't figure out how to get around the long delays that are encountered at times.
For instance, RPC server availability errors.
These delays are encountered when ConnectServer is called
objWMIService = locator.Invoke("ConnectServer", wmiServiceParams)
if w.ConnectServer("\\" + theComputer + "\root\cimv2") then
Any input is appreciated.