PowerShell脚本是否在Mono下运行? 我想在Mac上运行它们。PowerShell脚本是否在Mono下运行?
17
A
回答
20
PowerShell有一个名为Pash的开放源代码版本,专为Mono设计。这是不完整的,但也许可以做你的需要:
http://pash.sourceforge.net/(这个项目一直没有积极的相当长的一段时间)
结帐重新开始在:Pash-Project GitHub上。
3
powershell.exe存根实际上是本机win32程序,而不是托管程序集。将来有可能以单声道方式主持部件,但我相当确信目前这种方式并不奏效。现在
5
Powershell的已经开源,并提供here。
截至目前它是V6.0阿尔法。我一直在OS X上运行它进行大量文件操作,并且它一直运行得非常好。
请注意,您可能需要安装.Net核心获得PowerShell来检点。另外请注意,system.management.automation.runspaces可以直接使用(对于runspacepools)。
相关问题
- 1. saltstack:在状态下运行powershell脚本
- 2. 运行PowerShell脚本
- 3. 运行PowerShell脚本
- 4. 在powershell脚本中运行python脚本
- 5. powershell并行运行脚本
- 6. 如何检查Powershell脚本是否正在远程运行
- 7. 如何检查是否在PowerShell中运行时通过脚本
- 8. NDepend是否在Mono/Linux上运行?
- 9. 运行批处理脚本,PowerShell脚本
- 10. .NET API运行PowerShell脚本
- 11. 运行R.脚本Powershell的
- 12. PowerShell运行多个脚本
- 13. 从ASP.NET运行PowerShell脚本
- 14. 运行PowerShell脚本.PS1
- 15. 运行powershell没有'运行脚本'
- 16. 有没有办法检查脚本是否由PowerShell ISE运行?
- 17. 运行非PowerShell脚本的C#PowerShell
- 18. 运行PowerShell脚本而不安装PowerShell?
- 19. Powershell脚本从命令行运行,但不是从TFS运行
- 20. 从powershell脚本执行powershell.exe(在ISE中运行,但不是在脚本中)
- 21. 在Python脚本中运行PowerShell cmdlet
- 22. 如何在IIS中运行PowerShell脚本?
- 23. Python脚本未在PowerShell上运行
- 24. 在内存中运行PowerShell脚本
- 25. 在单声道中运行PowerShell脚本?
- 26. 如何在maven中运行powershell脚本
- 27. 如何在powershell中运行cygwin脚本
- 28. 如何在VB.Net中运行Powershell脚本
- 29. 在emacs中运行powershell脚本
- 30. 在PowerShell中运行远程脚本
很可能不是。不幸的是,Pash(a)非常不完整,(b)大约一年没有任何活动。 – Joey 2009-07-05 09:28:44
其中一个ubuntu pash团队刚刚被接受对其执行GSOC。 – 2009-07-26 14:12:08
@LexLi:看起来像是在真正的PowerShell上使用Reflector的结果。我认为这是违法的,我建议人们忽略它。然而,真正的Pash(基于伊戈尔的工作)正在发展中。见https://github.com/Pash-Project/Pash/ – 2013-03-28 00:43:52