Hi Robert,

> When using the WMI GetObject (to impersonate security)
> I'm getting an error that permission is denied on a machine.
> How can I tell the script to go past that and just move
> onto the next computer in the list?

You don't say which language you're working with, but if it supports
try...catch (e.g. C#, Java) then you could use that and ignore any
exceptions you happen to catch.

If it's classic ASP then you might be able to borrow VB's "On Error Resume
Next", but I don't know enough about it to say whether this is definitely
available or not.

Cheers
Jon


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to