Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How do I get past "WMI Connection failed" errors

by Corion (Patriarch)
on Feb 12, 2009 at 19:15 UTC ( [id://743436]=note: print w/replies, xml ) Need Help??


in reply to How do I get past "WMI Connection failed" errors

Most likely you can catch the error using an eval block. Otherwise, I'd just ping the machine before trying to connect to it:

select responsetime from Win32_PingStatus where Address = '192.168.1.1'

Replies are listed 'Best First'.
Re^2: How do I get past "WMI Connection failed" errors
by StarkRavingCalm (Sexton) on Feb 12, 2009 at 23:32 UTC

    That could work as a temporary work around.

    Right now I am reading each machine name from an array, but I ultimately want reading each server in real time from the domain.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://743436]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-18 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found