GetWinEventCommand Constructor

Creates a new GetWinEventCommand 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.Diagnostics (in Microsoft.PowerShell.Commands.Diagnostics.dll)

Dim instance As New GetWinEventCommand

public GetWinEventCommand ()
public GetWinEventCommand ()
public function GetWinEventCommand ()

For more information about this cmdlet, see Get-WinEvent in the Microsoft TechNet Library.

For Help at the command line, type:

get-help get-winevent


Target Platforms