Display the classic event logs of the local or a remote computer in Event Viewer.
Syntax Show-EventLog [[-ComputerName] string] [CommonParameters] Key: -ComputerName string[] Specify a remote 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 PowerShell remoting.
Requires Administrator permissions.
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.
Open Event Viewer and display the classic event logs from the local computer:
PS C:\> Show-EventLog
Open Event Viewer and display the classic event logs from server64 :
PS C:\> Show-EventLog -computername Server64
“Don’t tell me where your priorities are. Show me where you spend your money and I’ll tell you what they are” ~ James W. Frick
Get-Eventlog - Get event log data.
New-Eventlog - Create a new event log and a new event source.