Skip to content

Commit 32162f5

Browse files
authored
Update New-IPv4PortScan.ps1
1 parent 8b6a94a commit 32162f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/New-IPv4PortScan.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Process{
194194
{
195195
Write-Host "$ComputerName is not reachable!" -ForegroundColor Red
196196

197-
if($Force -eq $false)
197+
if($Force.IsPresent -eq $false)
198198
{
199199
do {
200200
$Answer = Read-Host "Would you like to continue? (perhaps only ICMP is blocked) [yes|no]"

0 commit comments

Comments
 (0)