🤬
  • ■ ■ ■ ■ ■
    scanner.ps1
    skipped 51 lines
    52 52  {
    53 53  write-host "DNS does not resolve" -ForegroundColor Red
    54 54  }
    55  - 
    56  -if(Get-Variable webtest1){Clear-Variable webtest1}
    57  -if(Get-Variable webtest2){Clear-Variable webtest2}
     55 +if(Get-Variable webtest1 -ErrorAction SilentlyContinue){Clear-Variable webtest1}
     56 +if(Get-Variable webtest2 -ErrorAction SilentlyContinue){Clear-Variable webtest2}
    58 57   
Please wait...
Page is in error, reload to recover