i'm throwing this out there for anyone who has an idea. basically what is happening is that i have a script that runs against a set of pc's on my network. it tries to remotely connect to the wmi object and then retrieves information from the remote pc's.
my problem is that when it comes across a machine that it cannot connect with it gives me an error "the remote server machine does not exist or is unavailable: GetObject"
the only way i can bypass it is to put "on error resume next" at the start of the script, but i would like to know if there is a way to record that error with the pcname instead of just bypassing it. any help is appreciated, curt
my problem is that when it comes across a machine that it cannot connect with it gives me an error "the remote server machine does not exist or is unavailable: GetObject"
the only way i can bypass it is to put "on error resume next" at the start of the script, but i would like to know if there is a way to record that error with the pcname instead of just bypassing it. any help is appreciated, curt