• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Wmi events

A

A. Petitjean

#1
Since monitoring WMI events (like InstanceCreationEvent for example) is not
available with Get-WmiObject, how to do this with PowerShell ?

It's so simple in vbs...

Regards,
 

My Computer

O

/\\/\\o\\/\\/ [MVP]

#2
you can use a ManagementEventWatcher, I have some examples on my blog here :

http://mow001.blogspot.com/2005/12/msh-cluster-watcher-script.html
http://mow001.blogspot.com/2006/01/watching-fsrm-quota-and-filescreen.html

Greetings /\/\o\/\/

"A. Petitjean" <A. Petitjean@discussions.microsoft.com> wrote in message
news:79623BE9-7CE0-449D-9C92-C691CE4B6E98@microsoft.com...
> Since monitoring WMI events (like InstanceCreationEvent for example) is
> not
> available with Get-WmiObject, how to do this with PowerShell ?
>
> It's so simple in vbs...
>
> Regards,
>
>
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)