我的计算机科学教授做了一个小测验,其中一个问题是“对还是错:PowerShell 可以在 Windows、Mac 和 Linux 上运行”;正确答案是“假”。他坚持认为 PowerShell 只是 Windows 的东西。但这里有几个网站另有说法:
https://azure.microsoft.com/en-us/blog/powershell-is-open-sourced-and-is-available-on-linux/
https://github.com/PowerShell/PowerShell
那么哪个是真的?PowerShell 是否适用于 Linux 和 Mac 以及 Windows?