Installing Windows PowerShell on Mac
To get started we need to download the PowerShell Module for OSX from the following website:
https://github.com/PowerShell/PowerShell/releases/
Now that we have the install file, we can simply click on the .pkg file to start the installation.
The installation is very simple and straight forward. Once the setup window appears click on Install at the bottom right hand corner.
Once the preparing for Installation process has completed click on Continue.
Once the Setup process has been completed without any errors, navigate to the Launchpad and click on the newly installed PowerShell application.
As we can see the from the console screen the version installed in v6.0.2.
To make sure that itโs the PowerShell that we know, you can simple just type a simple command to get an output of all the available commands.
For the purpose of this post I have decided to run the following.
1 |
Get-Command *Disk* |
And from the results displayed below we can see all command which contains *disk*.
And as simple as that we now have Microsoft PowerShell installed on Mac.
Happy Powershelling ๐ (not sure if that is even word)
#ThatLazyAdmin