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.
The –TraceRoute flag will attempt to display trace route data.
The –Port flag will allow testing of a specific TCP port.
The cmdlet has some built-in aliases for some common services, such as RDP.
Other aliases would include SMB, HTTP, and PING.
The flag –InformationLevel Detailed can be used to obtain more data.
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.