Share via


RemoveEventLogCommand Constructor

Creates a new instance of the RemoveEventLogCommand class. 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.

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

Usage

'Usage
Dim instance As New RemoveEventLogCommand

Syntax

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

Remarks

This cmdlet deletes an event log or unregisters an event source. For more information about this cmdlet, see Remove-EventLog in the Microsoft TechNet library.

For Help at the command line, type:

get-help remove-eventlog

Platforms

Target Platforms

See Also

Reference

RemoveEventLogCommand Class
RemoveEventLogCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK