Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSCmdlet::Events Property

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Gets the event manager for the current session where the cmdlet is running This property is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public:
property PSEventManager^ Events {
	PSEventManager^ get();
}

Property Value

Type: System.Management.Automation::PSEventManager^

A PSEventManager object that handles the subscription to events for the session.

For more information about cmdlets, see Cmdlet Overview.

Return to top

Community Additions

Show: