WriteEventLogCommand Properties

Public Properties

  Name Description
public property Category Gets and sets the value of the Category parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property CommandOrigin  Gets the origin of the command. The command can be invoked within a runspace or it could be an external request (such as invoking the command from the command line). This property is introduced in Windows PowerShell 2.0. (Inherited from InternalCommand)
public property CommandRuntime  Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline. (Inherited from Cmdlet)
public property ComputerName Gets and sets the value of the ComputerName parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property CurrentPSTransaction  Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet)
public property EntryType Gets and sets the value of the EntryType parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property EventId Gets and sets the value of the EventId parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property Events  Gets the event manager for the current session where the cmdlet is running This property is introduced in Windows PowerShell 2.0. (Inherited from PSCmdlet)
public property Host  Gets information about the host that is being used by the session where the cmdlet is running. (Inherited from PSCmdlet)
public property InvokeCommand  Gets utility routines for executing scripts and creating script blocks. (Inherited from PSCmdlet)
public property InvokeProvider  Gets provider information that is used to access a data store. (Inherited from PSCmdlet)
public property JobManager  Gets or sets the job manager for the registered JobSourceAdapter objects. (Inherited from PSCmdlet)
public property JobRepository  Get the active jobs available in the current session where the cmdlet is running. This property is introduced in Windows PowerShell 2.0. (Inherited from PSCmdlet)
public property LogName Gets and sets the value of the LogName parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property Message Gets and sets the value of the Message parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property MyInvocation  Gets invocation information about the cmdlet. (Inherited from PSCmdlet)
public property PagingParameters  If the cmdlet declares paging support (via SupportsPaging), then PagingParameters property contains arguments of the paging parameters. Otherwise PagingParameters property is null. (Inherited from PSCmdlet)
public property ParameterSetName  Gets the name of the parameter set that is used by the cmdlet. (Inherited from PSCmdlet)
public property RawData Gets and sets the value of the RawData parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property SessionState  Gets information about the current state of the current session where the cmdlet is running. (Inherited from PSCmdlet)
public property Source Gets and sets the value of the Source parameter of the Write-EventLog cmdlet. This property is introduced in Windows PowerShell 2.0.
public property Stopping  Gets an indicator that the pipeline is stopping. The pipeline can be stopped for numerous reasons, such as when the user has entered the key combination CTRL+C, a terminating error has occurred, the hosting application requested a stop, and so on.  (Inherited from Cmdlet)

See Also

Reference

WriteEventLogCommand Class
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK