in reply to WMI EventLog

I'm not familiar with WMI, but here are a few pointers that may help:

Good luck.

Replies are listed 'Best First'.
Re: Re: WMI EventLog
by Mitch (Sexton) on Feb 11, 2003 at 19:42 UTC
    Thanks for getting back to me so quickly. The $if is just a copy-and paste-o. The error code returned after the ExecQuery is 0, which should mean it worked. I'm thinking the loop and "in" structure may not be a clean translation from vb to perl. I looked on Roth's sight; he does have some WMI examples, but not with looping through events.

    Thanks.
    Mitch