Using PowerShell script you can scan ports on a website or your internal network devices.
foreach ($ports in 80 && 443..445) {If (($scan=Test-NetConnection -ComputerName google.com -Port $ports -WarningAction SilentlyContinue).tcpTestSucceeded -eq $true){Write-Host "Port $ports is an open port" -ForegroundColor Green}else{Write-Host "Port $ports is a closed port" -ForegroundColor Red}}
On this page of the site you can watch the video online How to scan multiple ports using PowerShell script with a duration of hours minute second in good quality, which was uploaded by the user Fun & Tech 17 February 2023, share the link with friends and acquaintances, this video has already been watched 545 times on youtube and it was liked by 5 viewers. Enjoy your viewing!