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.
Type | Event | Description |
---|---|---|
|
|
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 ... |
Get PowerShell Cookbook, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.