From ecd11488e3fb5faec10842ed040d3067a087416f Mon Sep 17 00:00:00 2001 From: harygary Date: Sun, 21 Apr 2024 23:46:40 +0800 Subject: [PATCH] test-netconnection: add page (#12654) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/windows/test-netconnection.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/windows/test-netconnection.md diff --git a/pages/windows/test-netconnection.md b/pages/windows/test-netconnection.md new file mode 100644 index 000000000..5a0035899 --- /dev/null +++ b/pages/windows/test-netconnection.md @@ -0,0 +1,13 @@ +# Test-NetConnection + +> Display diagnostic information for a connection. +> This command can only be used through PowerShell. +> More information: . + +- Test a connection and display detailed results: + +`Test-NetConnection -InformationLevel Detailed` + +- Test a connection to a remote host using the specified port number: + +`Test-NetConnection -ComputerName {{ip_or_hostname}} -Port {{port_number}}`