Share via


ClearEventLogCommand Constructor

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

Syntax

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

Remarks

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

For Help at the command line, type:

get-help clear-eventlog

Platforms

Target Platforms

See Also

Reference

ClearEventLogCommand Class
ClearEventLogCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK