21 lines
517 B
Markdown
21 lines
517 B
Markdown
# Windows Powershell
|
|
|
|
## Test NetConnection
|
|
|
|
From Module [NetTCPIP](https://docs.microsoft.com/en-us/powershell/module/nettcpip/?view=windowsserver2019-ps)
|
|
|
|
[Windows Documentation](https://docs.microsoft.com/en-us/powershell/module/nettcpip/test-netconnection?view=windowsserver2019-ps)
|
|
|
|
|
|
```powershell
|
|
Test-NetConnection
|
|
[[-ComputerName] <String>]
|
|
-Port <Int32>
|
|
[-InformationLevel <String>]
|
|
[<CommonParameters>]
|
|
```
|
|
|
|
Example
|
|
```powershell
|
|
Test-NetConnection -ComputerName 192.168.1.123 -Port 3389
|
|
``` |