NewEventLogCommand Constructor

Creates a new NewEventLogCommand 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

    Dim instance As New NewEventLogCommand

Syntax

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

Remarks

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

For Help at the command line, type:

get-help new-eventlog

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2

See Also

Reference

NewEventLogCommand Class
NewEventLogCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK