如何让 PowerShell ISE 与 PowerShell 6.0 一起使用。目前,它有 4.0.
该服务器安装了 PowerShell 4.0,我通过以下链接安装了 PowerShell-6.1.0-win-x64.msi 的 PowerShell 6.0:https ://github.com/PowerShell/PowerShell/releases 文件现在存在于 C:\Program Files \PowerShell\6。
但是,ISE 仍然显示 4.0,但我需要它运行 6.0
$PSVersionTable.psversion
主要次要版本修订
4 0 -1 -1