We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af68da9 commit 31098feCopy full SHA for 31098fe
Scripts/New-IPv4PortScan.ps1
@@ -160,7 +160,7 @@ Begin{
160
}
161
162
Process{
163
- if($UpdateList.IsPresent)
+ if($UpdateList)
164
{
165
UpdateListFromIANA
166
@@ -194,7 +194,7 @@ Process{
194
195
Write-Host "$ComputerName is not reachable!" -ForegroundColor Red
196
197
- if($Force.IsPresent -eq $false)
+ if($Force -eq $false)
198
199
do {
200
$Answer = Read-Host "Would you like to continue? (perhaps only ICMP is blocked) [yes|no]"
0 commit comments