CmdID / PowerShell / Cmdlets / Show
Show-EventLog
Displays the event logs of the local or a remote computer in Event Viewer. PowerShell reference
From the PowerShell reference 1 parameter
What it does
Displays the event logs of the local or a remote computer in Event Viewer. 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. The cmdlets that contain the EventLog noun work only on classic event logs. To get events from logs that use the Windows Event Log technology, use the Get-WinEvent cmdlet.
Show-EventLog [[-ComputerName] <String>] [<CommonParameters>]
Display event logs for the local computer
Show-EventLogIdentifyDisplay event logs for a remote computer
Show-EventLog -ComputerName "Server01"IdentifyIts page in the reference: Show-EventLog.
Parameters
-ComputerNameSpecifies 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. When you use this parameter, the command runs eventvwr.exe and passes the value of this parameter.
IMPORTANT: Using this parameter with untrusted data is a security risk. Only use trusted data with this parameter. For more information, see Validate All Inputs.