in reply to Re: WMI EventLog
in thread WMI EventLog
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