Microsoft PowerShell is a very powerfull tool sys admin need to master. Best thing is it is open source now and can run on Mac and Linux as well. (Hint: That gives you an idea where Microsoft heading)
This particualr blog post mainly focus on serting up PowerShell on Mint Linux platform which is avariant of Debian.
Packages for Linux can be found in the GitHub. Download appropriate for your operating system.
In above picture for Mint Linux I have choosen “powershell_6.2.2-1.ubuntu.18.04_amd64.deb” If you’re insize the Mint Linux platform just click the package downlaod and let the Application Manager do the needful. Once compelted open the terminal and type “pwsh”
If you like to enjoy doing above task from the terminal (Who doens’t like to get hands dirty inside a Linux platform) try below commands
- Download the Microsoft repository GPG keys
2. Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
3. Update the list of products
sudo apt-get update
4. Enable the “universe” repositories
sudo add-apt-repository universe
5. Install PowerShell
sudo apt-get install -y powershell
6. Start PowerShell
That’s it. Now you have two major worlds cobined under one roof to control!