Share via


WriteEventLogCommand Constructor

Creates a new WriteEventLogCommand object. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.This constructor is introduced by Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As New WriteEventLogCommand

Syntax

'Declaration
Public Sub New
public WriteEventLogCommand ()
public:
WriteEventLogCommand ()
public WriteEventLogCommand ()
public function WriteEventLogCommand ()

Remarks

For more information about this cmdlet, see Write-EventLog in the Microsoft TechNet library.

For Help at the command line, type:

get-help write-eventlog

Platforms

Target Platforms

See Also

Reference

WriteEventLogCommand Class
WriteEventLogCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK