MrPowerShell

Raspberry Pi and PowerShell

Like many nerds I know, I play with Raspberry Pis.

Of course, I play with them using PowerShell.

Installing PowerShell on Raspberry Pi

Microsoft provides pretty decent instructions for Installing PowerShell on Pi.

They do miss one key step: you need to use chmod +x to set pwsh to execute to get up and running.

What Can We Do?

Once PowerShell is installed, almost everything works normally.

Since PowerShell core is cross-platform, there's a good chance your script will work without changes.

If it's PowerShell, and it runs on Linux, it will probably run on Pi.

If the script depends on a binary, it may not work. If it depended on features of Windows, like WMI, it will not work.

But almost everything is fair game.