title: How to return 202 Accepted and then continue processing the request in Powershell
body: <p>How to return 202 Accepted and then continue processing the request in PowerShell.</p>
  
  <p>I have a script that runs >3 minutes in azure function app Http Trigger(using PowerShell experimental language). </p>
  
  <p>I'm hitting above function using logic app which will timeout in 2 minutes.</p>
  
  <p>Is there a way to return 202 Accepted from PowerShell and continue executing the script.</p>
  
  <p>Tried Out-File (This will fire after complete execution), return (Breaks the application)</p>