PowerShell’s eventing commands give you access to events from the .NET Framework, as well as events surfaced by Windows Management Instrumentation (WMI). Table 9-1 lists a selection of .NET events. Table 9-2 lists a selection of WMI 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.