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)

Dim instance As New ClearEventLogCommand

public ClearEventLogCommand ()
public ClearEventLogCommand ()
public function ClearEventLogCommand ()

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


Target Platforms