• Stars
    star
    220
  • Rank 180,422 (Top 4 %)
  • Language
    PowerShell
  • License
    GNU General Publi...
  • Created almost 9 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Powerful asynchronus IPv4 port scanner for PowerShell

PowerShell | IPv4 port scanner

Powerful asynchronus IPv4 port scanner for PowerShell.

Description

This powerful asynchronus IPv4 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 IPv4 Network Scanner.

Syntax

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

Example

PS> .\IPv4PortScan.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