pen*_*ake 3 powershell powershell-2.0 powershell-3.0
我的盒子上安装了Powershell 3.
我需要使用Powershell 4测试一些脚本,但我想继续运行一些在Powershell 3下测试的脚本,我不想通过安装Powershell 4来破坏某些东西.
问题:尽管我已安装Powershell 4,是否可以在Powershell版本3下打开Powershell会话(如果需要,甚至可以打开2个)?
安装Windows Management Framework Core 4.0软件包后,可以运行PowerShell 2.0版,但不能运行3.0.使用该-version 2.0参数启动PowerShell v2.
请参阅此TechNet文章:http://technet.microsoft.com/en-us/library/hh847899.aspx
另请参阅help about_powershell.exe帮助文档:http://technet.microsoft.com/en-us/library/jj553275.aspx
| 归档时间: |
|
| 查看次数: |
3291 次 |
| 最近记录: |