Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Show-EventLog

Show-EventLog - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Show-EventLog

Short description
Displays the event logs of the local or a remote computer in Event Viewer.

Syntax
Show-EventLog [[-ComputerName] <String>] [<CommonParameters>]





Description
The Show-EventLog cmdlet opens Event Viewer on the local computer and displays in it all of the classic event logs on t
he local computer or a remote computer.


To open Event Viewer on Windows Vista and later versions of Windows, the current user must be a member of the Administr
ators group on the local computer.


The cmdlets that contain the EventLog noun (the EventLog cmdlets) work only on classic event logs. To get events from l
ogs that use the Windows Event Log technology in Windows Vista and later versions of Windows, use Get-WinEvent.