Monday, December 19, 2016

Windows PowerShell Equivalents: Networking Commands (PING)

Looking for PowerShell equivalents for older console network commands such as PING. The PING command is used for checking connectivity and to measure network latency between two devices.

PowerShell: Test-NetConnection

Test-NetConnection -ComputerName -InformationLevel Detailed
Test-NetConnection -ComputerName | Select-Object -ExpandProperty PingReplyDetails | Format-Table Address, Status, RoundTripTime

No comments: