I wonder how feasible it would be to build a powershell-like environment for Linux on top of Python.
Well, you could just run PS itself.
https://github.com/PowerShell/PowerShell/blob/master/docs/in...
[0] http://xon.sh/
The problem was that Bash on Windows wasn't effective. At the heart of the matter is the difference in architecture between Unix and Windows. In Unix, most everything is a file so if you can modify files and restart processes, you can manage everything. In Windows, most everything is an API so tools that manipulate files don't do much for you.
Ergo - we needed an admin automation model which supported an API oriented architecture. Thus PowerShell.
NOTE - Bash on Windows today has a very different focus - it is not about managing Windows (which it still doesn't do) - it is about using OSS tools to develop OSS Software. It does a great job at that.
Jeffrey Snover [MSFT]
I didn't WANT to run Windows - I was forced into it.
It would not surprise me in a few years to come, to find even sooner than expected that "Windows" had become another variant of Unix in effect if not entirely in fact.