PowerTip: Test Connectivity to Remote Servers without Ping

Doctor Scripto

Summary: Use Windows PowerShell to test connectivity to remote servers without using Ping.

Hey, Scripting Guy! Question How can I test connectivity to remote servers to ensure my Windows PowerShell scripts will work if I
           have the Packet Internet Grouper (PING) blocked at the firewall?

Hey, Scripting Guy! Answer Use Test-WsMan, for example:

's1','s2' | % {Test-Wsman $_}

0 comments

Discussion is closed.

Feedback usabilla icon