PowerShell on Unix

As crazy as that sounds it actually works.
MSFT has open sourced PowerShell. I have now tested it on both OSX and Linux and it does indeed work as advertised.

Granted some methods throw exceptions as they are missing DLLs and that is explained by the fact that only “core” functionality is currently supported. This is good enough though at the moment and you can do basic stuff with PowerShell.

Their GitHub issue list is filling up quickly, so if you get an error, likely it is already on the list to be fixored, if not – report it.

To me the use case currently is that I jump between Windows and Mac frequently and being able to write some automation helpers in a uniform way sure sounds good as before this I would have just resorted to Python. Not saying this is better, but hey, more choices can’t be bad.