Install powershell for mac

broken image
broken image

You will find out that the powershell application has the openssl libraries hard coded in the program. In typical fashion this error message does not really tell you what is wrong and back you go to your favourite search engine. WSMan is either not installed or unavailable for this system. Something like: New-PSSession : This parameter set requires WSMan, and no supported WSMan client library was found. The first thing you will notice is that starting a remote session does not work and you get a nasty error. You can download the latest version of powershell for Mac (or Linux) at. Most of them are outdated and some are plain wrong. If you google a bit you will find lots of instructions to install powershell on Mac. Before I discovered this I always had to first remote desktop in to a Windows Machine or fire up a VM to be able to start the remote session. This may sound crazy but you can run powershell on a Mac. I often need to run a remote session in powershell e.g. I have updated Powershell on Mac since then without issue and haven’t checked if the location of the libraries are still hard coded or if an older version of SSL is till required. It was written in December 2019 but the Powershell Binaries may have been improved in the meantime.

broken image

Note: This article seems to be quite popular.