Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-EventSubscriber

Get-EventSubscriber - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-EventSubscriber

Short description
Gets the event subscribers in the current session.

Syntax
Get-EventSubscriber [[-SourceIdentifier] <String>] [[-Force]] [<CommonParameters>]
Get-EventSubscriber [-SubscriptionId] <Int32> [[-Force]] [<CommonParameters>]





Description
The Get-EventSubscriber cmdlet gets the event subscribers in the current session.


When you subscribe to an event by using a Register event cmdlet, an event subscriber is added to your Windows PowerShel
l session, and the events to which you subscribed are added to your event queue whenever they are raised. To cancel an 
event subscription, delete the event subscriber by using the Unregister-Event cmdlet.