How To Install PowerShell Core On Linux Using Snap
DevOps is requiring that SysAdmins be experts in more than one operating system. That used to mean learning more than a few shell scripting languages. It is no longer necessary to learn a new scripting language to support heterogeneous environments.
PowerShell Core is a new edition of PowerShell that is cross-platform (Windows, macOS, and Linux), open-source, and built for heterogeneous environments and the hybrid cloud. The cross-platform nature of PowerShell Core means that scripts that you write will run on any supported operating system. You can write PowerShell Core scripts on Windows, and use them on supported Mac OS X or Linux devices.
With Snap, a Universal App Store for Linux, it’s easier than ever to start using PowerShell on your Linux distribution of choice.
Prerequisites include: A Linux machine Snap (snapd) sudo (admin) account