Get TCP/IP all

11/15/2016

Name:

Get TCP/IP all

Category:

Event Logs

Description: 

Display all TCP/IP messages from System Event Log.

Required Software:

PowerShell

Command:

Write-Output "Examine System log for all TCP/IP messages on $(Computer:TARGET)"

Get-WinEvent -ComputerName $(Computer:TARGET) -LogName System -ErrorAction SilentlyContinue |
where {$_.ProviderName -match "Tcpip" } |
Format-List -property TimeCreated, LogName, ProviderName, LevelDisplayName, ID, Message

More Info/Usage:

Get-WinEvent