Skip to content

Commit a8232e6

Browse files
committed
Update Readme
New Parameter added / changed
1 parent 3354682 commit a8232e6

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ This script also work fine along with my [asychronus IP-Scanner](https://github.
1313
## Syntax
1414

1515
```powershell
16-
.\ScanPortsAsync.ps1 [-IPv4Address] <IPAddress> [[-StartPort] <Int32>] [[-EndPort] <Int32>] [[-Threads] <Int32>] [[-UpdateListFromIANA]] [<CommonParameters>]
16+
.\ScanPortsAsync.ps1 [-ComputerName] <String> [[-StartPort] <Int32>] [[-EndPort] <Int32>] [[-Threads] <Int32>] [[-UpdateListFromIANA]] [[-Force]] [<CommonParameters>]
1717
```
1818

1919
## Example
2020

2121
Scan a specific Port-Range (1-500)
2222

2323
```powershell
24-
.\ScanPortsAsync.ps1 -IPv4Address 192.168.1.100 -StartPort 1 -EndPort 500 | Format-Table
24+
.\ScanPortsAsync.ps1 -ComputerName 192.168.1.100 -StartPort 1 -EndPort 500 | Format-Table
2525
```
2626

27-
You may want to update the official Service Name and Transport Protocol Port Number Registry from IANA... Just add the parameter "-UpdateListFromIANA".
27+
You may want to update the official "Service Name and Transport Protocol Port Number Registry" from IANA... Just add the parameter "-UpdateListFromIANA".
2828

2929
```powershell
30-
.\ScanPortsAsync.ps1 -IPv4Address 172.16.2.5 -UpdateListFromIANA
30+
.\ScanPortsAsync.ps1 -ComputerName 172.16.2.5 -UpdateListFromIANA
3131
```
3232
If your PC has enough power, you can use more threads at the same time
3333

3434
```powershell
35-
.\ScanPortsAsync.ps1 -IPv4Address 172.16.2.5 -Threads 250
36-
```
35+
.\ScanPortsAsync.ps1 -ComputerName test-pc01 -Threads 250
36+
```
3737

3838
## Output
3939

@@ -43,8 +43,6 @@ Port Protocol ServiceName ServiceDescription Status
4343
21 tcp ftp File Transfer Protocol [Control] open
4444
53 tcp domain Domain Name Server open
4545
80 tcp http World Wide Web HTTP open
46-
80 tcp www World Wide Web HTTP open
47-
80 tcp www-http World Wide Web HTTP open
4846
139 tcp netbios-ssn NETBIOS Session Service open
4947
445 tcp microsoft-ds Microsoft-DS open
5048
```
@@ -67,3 +65,4 @@ Port Protocol Status
6765

6866
## ToDo
6967
[x] Integrate Port-List like: 80 (http), 443 (https), etc.
68+
[x] You can now enter a hostname as -ComputerName. The script will resolve the IPv4-Address.

0 commit comments

Comments
 (0)