Insert the following at the start of your try block: if($attempts -gt 3){ Write-Host "Giving up"; break; }. break will cause powershell to ...
確定! 回上一頁