PowerTip: Use PowerShell to Find Object Events

The Scripting Guys

Dr

Summary: Find events from objects by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find what events are offered by a process?

Hey, Scripting Guy! Answer Use Get-Process to retrieve an instance of the process, pipe the results to Get-Member,
           and specify a MemberType Event:

notepad

Get-Process notepad | Get-Member -MemberType Event

The Scripting Guys
Dr Scripto

Follow Dr   

No Comment.