Home Uncategorized Use Powershell to check remote ports

Use Powershell to check remote ports

1286
0

Newer OS Powershell:

Test-NetConnection -ComputerName <remote server> -Port nnnn

Older OS Powershell:

$t = New-Object System.Net.Sockets.TcpClient 'my.hostname', 123; if($t.Connected) {"OK"}
Previous articleFacial recognition tech with only 2% success rate? Dump it!
Next articleBreach: T-Mobile Customer data

LEAVE A REPLY

Please enter your comment!
Please enter your name here