diff --git a/Tools.ps1 b/Tools.ps1 index 7611e20..144da70 100644 --- a/Tools.ps1 +++ b/Tools.ps1 @@ -175,7 +175,7 @@ Function IsURLValid { $HTTPResponse.Close() } Catch { } - If ($HTTPStatus -eq 200) { Return $true } + If ($HTTPStatus -ne 404) { Return $true } Else { Return $false } }