Appendix I. Selected Events and Their Uses
PowerShell’s eventing commands give you access to events from the .NET Framework, as well as events surfaced by Windows Management Instrumentation (WMI). Table I-1 lists a selection of .NET events. Table I-2 lists a selection of WMI events.
Table I-1. Selected .NET events
Occurs when an assembly is loaded.
Occurs when the resolution of a type fails.
Occurs when the resolution of a resource fails because the resource is not a valid linked or embedded resource in the assembly.
Occurs when the resolution of an assembly fails.
Occurs when the resolution of an assembly fails in the reflection-only context.
Occurs when an exception is not caught.
Occurs when the Control modifier key (Ctrl) and C console key (C) are pressed simultaneously (Ctrl-C).
Occurs when the display settings are changing.
Occurs when the user changes the display settings.
Occurs when the user adds fonts to or removes fonts from the system.
Occurs when the system is running out of available RAM.