PSEventArgs Properties

  Name Description
public property ComputerName Gets the name of the computer where the event was raised. This property is introduced in Windows PowerShell 2.0.
public property EventIdentifier Gets the unique identifier of the raised event. This property is introduced in Windows PowerShell 2.0.
public property MessageData Gets any user data associated with the raised event. This property is introduced in Windows PowerShell 2.0.
public property 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.
public property Sender Gets the object (also referred to as the source) that raised the event. This property is introduced in Windows PowerShell 2.0.
public property 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.
public property SourceEventArgs Gets any arguments that were added by the source when the event was raised. This property is introduced in Windows PowerShell 2.0.
public property SourceIdentifier Gets the identifier of the source that raised the event. This property is introduced in Windows PowerShell 2.0.
public property TimeGenerated Gets the date and time of when the event was raised. This property is introduced in Windows PowerShell 2.0.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft