In the appveyor config file I'd like to use PowerShell 5 in Visual Studio 2016 images and PowerShell Core 6 in Visual Studio 2019 and Ubuntu images for tests. If I use PS, then PowerShell is used on both Visual Studio 2016 and 2019 and PowerShell Core on Ubuntu. How can I change to PowerShell Core on Visual Studio 2019 but keep PowerShell 5 for Visual Studio 2016?
The current appveyor.yml file can be found here:
https://github.com/NetApp-StorageGRID/S3-Client/blob/master/appveyor.yml

#1 Posted by Feodor Fitsner Support staff on 02 Jan, 2020 10:23 PM
Hi Florian,
I can't suggest an easy hack for that, but you can switch to using
powershellandpwshcommands explicitly, kind of:Feodor Fitsner closed this discussion on 03 Apr, 2020 06:47 PM.