Skip to content

Commit 43d1eb1

Browse files
committed
Re-Upload
1 parent 1dba159 commit 43d1eb1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ScanPortsAsync.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ Begin{
4949
# Validate Port-Range
5050
if($StartPort -gt $EndPort)
5151
{
52-
52+
Write-Host "Check your input! Invalid Port-Range (-StartPort can't be lower than -EndPort)" -ForegroundColor Red
53+
exit
5354
}
5455

5556
# Some User-Output about the selected or default settings
56-
57+
5758
}
5859

5960
Process{

0 commit comments

Comments
 (0)