title: Groovy pipeline with Invoke-Webrequest not working
body: <p>Following line is used in my groovy pipeline. </p>
  
  <p>powershell "Invoke-WebRequest -Uri '<a href="https://artifacts.company.int/artifactory/nuget-internal-stable/com/company/Exes.zip" rel="nofollow noreferrer">https://artifacts.company.int/artifactory/nuget-internal-stable/com/company/Exes.zip</a>' -OutFile 'D:\jenkins\workspace\CompanyServices\Folder\Exes.zip'"</p>
  
  <p>But somehow its now working: </p>
  
  <p>It throws following error:</p>
  
  <p>"Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a receive.
  At D:\jenkins\workspace\CompanyServices\Folder@tmp\durable-2e2f2b14\powershellScript.ps1:1 char:1"</p>