Search notes:

PowerShell cmdLet register-objectEvent

register-objectEvent allows to subscribe to events that are generated by a .NET Framework object.

See also

The PowerShell cmdLet noun event
The automatic variable $sender.
Powershell command noun: objectEvent

Index