# 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] ] -Port [-InformationLevel ] [] ``` Example ```powershell Test-NetConnection -ComputerName 192.168.1.123 -Port 3389 ```