PowerShell Logo Small

Show-EventLog



This is the built-in help made by Microsoft for the command 'Show-EventLog', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

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

SYNTAX


Show-EventLog [[-ComputerName] [<String>]] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Show-EventLog cmdlet opens Event Viewer on the local computer and displays in it all of the classic event logs on the 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 Administrators 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 logs that use the Windows Event Log technology in
Windows Vista and later versions of Windows, use Get-WinEvent.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=293916
Clear-EventLog
Get-EventLog
Limit-EventLog
New-EventLog
Remove-EventLog
Write-EventLog

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

PS C:\>show-eventlog



This command opens Event Viewer and displays in it the classic event logs on the local computer.










-------------------------- EXAMPLE 2 --------------------------

PS C:\>show-eventlog -computername Server01



This command opens Event Viewer and displays in it the classic event logs on the Server01 computer.