Search notes:
PowerShell: the automatic variable $sender
The
automatic variable
$sender
corresponds to the object that generated an event.
$sender
is the same object as found with
(get-event).sender
.
See also
register-objectEvent
.
Other
automatic variables
such as
$event
,
$eventSubscriber
and
$eventArgs
.
Index