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.