Sunday, October 6, 2013

Test-NetConnection

Windows 8.1 and Windows Server 2012 R2 include a new PowerShell cmdlet with the name of Test-NetConnection or TNC.  The default usage will return general information.

test_netconnection_1

The –TraceRoute flag will attempt to display trace route data.

test_netconnection_2

The –Port flag will allow testing of a specific TCP port.

test_netconnection_3

The cmdlet has some built-in aliases for some common services, such as RDP.

test_netconnection_4

Other aliases would include SMB, HTTP, and PING.

test_netconnection_5

The flag –InformationLevel Detailed can be used to obtain more data.

test_netconnection_6

Additional examples can be found at https://isc.sans.edu/forums/diary/NMAP+without+NMAP+Port+Testing+and+Scanning+with+PowerShell/29202/

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.