tag:help.appveyor.com,2012-11-13:/discussions/problems/27869-macos-image-powershell-install-module-does-not-workAppVeyor: Discussion 2020-09-16T20:20:28Ztag:help.appveyor.com,2012-11-13:Comment/485070732020-08-04T00:46:36Z2020-08-04T00:46:36Zmacos image: PowerShell: Install-Module does not work<div><p>Hi Florian,</p>
<p>Do you have a repro appveyor.yml for this issue?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/485070732020-08-04T10:28:45Z2020-08-04T10:28:46Zmacos image: PowerShell: Install-Module does not work<div><p>Sure, here is the repo:<br>
<a href="https://github.com/ffeldhaus/appveyor">https://github.com/ffeldhaus/appveyor</a></p>
<p>Here is the test with 4 images:<br>
<a href="https://ci.appveyor.com/project/ffeldhaus/appveyor">https://ci.appveyor.com/project/ffeldhaus/appveyor</a></p>
<p>Only the macos image has the problem:<br>
<a href="https://ci.appveyor.com/project/ffeldhaus/appveyor/build/job/m0ih17a5we9f18rm">https://ci.appveyor.com/project/ffeldhaus/appveyor/build/job/m0ih17...</a></p>
<p>BTW: I was very surprised to see that Visual Studio 2019 shows PowerShell 5.1:<br>
<a href="https://ci.appveyor.com/project/ffeldhaus/appveyor/build/job/g1q8nltp48h4tmdj">https://ci.appveyor.com/project/ffeldhaus/appveyor/build/job/g1q8nl...</a></p>
<p>The "Software pre-installed on Windows build VMs" list only mentions PowerShell 7:<br>
<a href="https://www.appveyor.com/docs/windows-images-software/">https://www.appveyor.com/docs/windows-images-software/</a></p></div>Florian Feldhaustag:help.appveyor.com,2012-11-13:Comment/485070732020-08-28T03:57:45Z2020-08-28T03:57:45Zmacos image: PowerShell: Install-Module does not work<div><p>Seeing a similar issue on my project.</p>
<p>Build: <a href="https://ci.appveyor.com/project/techthoughts2/poshgram">https://ci.appveyor.com/project/techthoughts2/poshgram</a></p>
<p>Repo: <a href="https://github.com/techthoughts2/PoshGram/tree/Enhancements">https://github.com/techthoughts2/PoshGram/tree/Enhancements</a></p>
<p>This was not occurring when the MacOS was running<br>
PSVersion 6.2.4</p>
<p>But now it is running:<br>
PSVersion 7.0.1</p></div>jakewmorrison