Share via


GetEventLogCommand Constructor

Creates a new GetEventLogCommand 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.

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

Usage

'Usage
Dim instance As New GetEventLogCommand

Syntax

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

Remarks

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

For Help at the command line, type:

get-help get-eventlog

Platforms

Target Platforms

See Also

Reference

GetEventLogCommand Class
GetEventLogCommand Members
Microsoft.PowerShell.Commands Namespace

Other Resources

Windows PowerShell SDK