diff --git a/Start-Portscan.ps1 b/Start-Portscan.ps1 index b59b3d5..b206f26 100644 --- a/Start-Portscan.ps1 +++ b/Start-Portscan.ps1 @@ -28,9 +28,6 @@ function Start-Portscan{ Write-Output "$ip port $_ is open." $Socket.Close() } - else{ - Write-Output "$ip port $_ is not open." - } } } }