Useful Windows powershell options

From Notes_Wiki
Revision as of 10:04, 25 February 2024 by Saurabh (talk | contribs) (Created page with "Home > Windows > Windows Desktop Tools or Utilities > Useful Windows powershell options =Test-NetConnection= We can test network connectivity to a remote computer / port via: <pre> Test-NetConnection [[-ComputerName] <String>] -Port <Int32> [-InformationLevel <String>] [<CommonParameters>] </pre> For exmaple: <pre> Test-NetConnection -ComputerName 10.1.1.1 -Port 443 -InformationLevel "Detailed" </pre> This can be a useful alternative to Linux...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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