Using PowerShell on Linux

I run PowerShell on my Windows 11 laptop, but I also have Linux VMs and use PowerShell on those too. In this blog post, I will show you two ways to install PowerShell on your Linux machine, and yes, I know... There are different Linux Operating Systems with different package managers. In my case, I used Ubuntu 22.04 🙂

PowerShell remoting to Linux Servers

Connecting from a Windows Client to a Windows Server using PowerShell is easy. Enter-PSSession -Computername xxxx, and you're in when connecting with enough credentials. But I also have two Linux systems (Ubuntu VPS and a Raspberry Pi4 running Raspian Bullseye) on which PowerShell is also installed. But PowerShell remoting into those systems is not standard and requires a few steps. This blog post will show you how to connect to Linux using PowerShell.