Skip to content

Tragen/PowerShell_IPPortScanner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell | IP port scanner

Powerful asynchronus IP port scanner for PowerShell.

Description

This powerful asynchronus IP port scanner allows you to scan every port range you want (500 to 2600 would work). Only TCP ports are scanned.

The result will contain the port number, protocol, service name, description and the status.

Screenshot

To reach the best possible performance, this script uses a RunspacePool. As you can see in the following screenshot, the individual tasks are distributed across all cpu cores:

Screenshot

If you are looking for a module containing this script as function... you can find it here!

Maybe you're also interested in my asynchronus IP Network Scanner.

Syntax

.\IPPortScan.ps1 [-ComputerName] <String> [[-StartPort] <Int32>] [[-EndPort] <Int32>] [[-Threads] <Int32>] [[-Force]] [<CommonParameters>]

Example

PS> .\IPPortScan.ps1 -ComputerName fritz.box -EndPort 500

Port Protocol ServiceName  ServiceDescription               Status
---- -------- -----------  ------------------               ------
  53 tcp      domain       Domain Name Server               open
  80 tcp      http         World Wide Web HTTP              open

About

Powerful asynchronus IP port scanner for PowerShell

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • PowerShell 100.0%