~/talk

PowerShell Events

links:none on file
slides:none on file

Shows how the PowerShell event engine wires up .NET, WMI and PowerShell engine events and gives runnable examples that stop or start processes. Demonstrates permanent WMI events vs temporary registrations, uses the PowerEvents module by Trevor Sullivan and hand‑coded WMI (with example WQL query, filter/consumer/binding), and builds a file‑monitor that writes to a log. Calls out real limitations: flaky persistence, only a few consumer actions (event log, email, VBScript, cmd, log file), cleanup required, action block and scope/stream weirdness, and remoting caveats plus a scheduled‑task workaround.

AI-written summary · about

  1. 0:00Intro
  2. 1:05Events
  3. 4:30Monitoring
  4. 6:15Finding
  5. 8:20Conclusion
  6. 9:00Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.