Useful Windows powershell options

From Notes_Wiki

Home > Windows > Windows Desktop Tools or Utilities > Useful Windows powershell options

Test-NetConnection

We can test network connectivity to a remote computer / port via:

Test-NetConnection [[-ComputerName] <String>] -Port <Int32> [-InformationLevel <String>] [<CommonParameters>]

For exmaple:

Test-NetConnection -ComputerName 10.1.1.1 -Port 443 -InformationLevel "Detailed"

This can be a useful alternative to Linux telnet or Nc commands

Refer:


Home > Windows > Windows Desktop Tools or Utilities > Useful Windows powershell options