tag:help.appveyor.com,2012-11-13:/discussions/questions/45493-how-to-use-powershell-5-on-visual-studio-2016-and-powershell-core-6-on-visual-studio-2019-and-ubuntuAppVeyor: Discussion 2020-04-03T18:47:02Ztag:help.appveyor.com,2012-11-13:Comment/479616812020-01-02T22:23:21Z2020-01-02T22:23:21ZHow to use PowerShell 5 on Visual Studio 2016 and PowerShell Core 6 on Visual Studio 2019 and Ubuntu?<div><p>Hi Florian,</p>
<p>I can't suggest an easy hack for that, but you can switch to using <code>powershell</code> and <code>pwsh</code> commands explicitly, kind of:</p>
<pre>
<code>- cmd: powershell ./myscript.ps1</code>
</pre></div>Feodor Fitsner