PSEventArgs Properties
| Name | Description | |
|---|---|---|
|
ComputerName | Gets the name of the computer where the event was raised. This property is introduced in Windows PowerShell 2.0. |
|
EventIdentifier | Gets the unique identifier of the raised event. This property is introduced in Windows PowerShell 2.0. |
|
MessageData | Gets any user data associated with the raised event. This property is introduced in Windows PowerShell 2.0. |
|
RunspaceId | Gets the global identifier for the event that is unique to the runspace where the event was raised. This property is introduced in Windows PowerShell 2.0. |
|
Sender | Gets the object (also referred to as the source) that raised the event. This property is introduced in Windows PowerShell 2.0. |
|
SourceArgs | Gets any original arguments of the event that were captured and passed on by the source when the event was raised. This property is introduced in Windows PowerShell 2.0. |
|
SourceEventArgs | Gets any arguments that were added by the source when the event was raised. This property is introduced in Windows PowerShell 2.0. |
|
SourceIdentifier | Gets the identifier of the source that raised the event. This property is introduced in Windows PowerShell 2.0. |
|
TimeGenerated | Gets the date and time of when the event was raised. This property is introduced in Windows PowerShell 2.0. |
Reference
PSEventArgs ClassSystem.Management.Automation Namespace
ForwardedEventArgs Class
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.
