title: How do I run a PowerShell script on an Azure App Service running Linux?
body: <p>Using SSH to remote into the App Service I'm greeted with this message:</p>
  <p><a href="https://i.stack.imgur.com/woYaF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/woYaF.png" alt="enter image description here" /></a></p>
  <pre><code>root@05831a60f815:/home# pwsh
  -bash: pwsh: command not found
  </code></pre>
  <p>It would appear that Microsoft's new PowerShell Core is not installed on Azure's Linux containers.</p>
  <p>Where do I define that I want PowerShell to be installed on my Linux deployment?</p>
  <p>We have defined <code>ubuntu-latest</code> as our <code>vmImage</code> in our Azure DevOps CI.</p>