Show-EventLog - PowerShell


 

Displays the event logs of the local or a remote computer in Event Viewer. (Show-EventLog)

   

# NAME
Show-EventLog

# SYNOPSIS
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 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.

# PARAMETERS
-ComputerName <string>
Specifies a remote computer. Show-EventLog displays the event logs from the specified computer in Event Viewer on the local computer. The default is the local computer.

Type the NetBIOS name, an Internet Protocol (IP) address, or a fully qualified domain name of a remote computer.

This parameter does not rely on Windows PowerShell remoting. You can use the ComputerName parameter of Get-EventLog even if your computer is not configured to run remote commands.

Required? false
Position? 1
Default value .
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

# INPUTS
None
You cannot pipe input to this cmdlet.

# OUTPUTS
None
This cmdlet does not generate any output.

# NOTES

The Windows PowerShell command prompt returns as soon as Event Viewer opens. You can work in the current session while Event Viewer is open.

Because this cmdlet requires a user interface, it does not work on Server Core installations of Windows Server.

# EXAMPLE 1

C:\PS>show-eventlog

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

# EXAMPLE 2

C:\PS>show-eventlog -computername Server01

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

RELATED LINKS
Online version: http://go.microsoft.com/fwlink/?LinkID=135257
Clear-EventLog
Get-EventLog
Limit-EventLog
New-EventLog
Remove-EventLog
Write-EventLog
Get-WinEvent

C:\Windows>powershell get-help New-EventLog -full

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.

OS: Windows 10, 8.1, 8, 7, Vista / Windows Server 2016, 2012, 2008
»»»» ColorConsole








Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





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

HTTP: ... PS_Windows/en/Show-EventLog.htm
0.156
13950

Hilfe der Windows 10 Defender ist deaktiviert, was kann ich machen?

 /

Turn off blocking + switch to Please Sleep Mode!

 /

Kann man ein virtuelles Laufwerk erstellen unter Windows 8,8.1 und 10 (VHD)?

 /

Windows 10 desktop is gone, what can I do?

 /

TTC / OTF / TTF Schriftarten in Windows anschauen,, die nicht im Font-Ordner sind?

 /

Delete Auto Complete, Passwords and Form Data in Windows-10?

 /

Customize the pagefile.sys in Windows 10 (paging file)?

 /

Compare Fonts TTF OTF on Windows!

 /

Quad-Dir and Windows x64. How does it work?

 /

Can I create a PDF from Screenshot or other Images?

 /

Show delete confirmation dialog on Windows 8.1 / 10 when delete file!

 /

Has the Quad-Dir-Explorer fast access to frequently used programs?

 /