Vagrant up 失败 为什么一直显示 powershell 版本过低?
环境:
windows 7
一执行下面的命令,就会出现powershell版本过低
vagrant up
错误提示:
The version of powershell currently installed on this host is less than
the required minimum version. Please upgrade the installed version of
powershell to the minimum required version and run the command again.
Installed version: N/A
Minimum required version: 3
本地的powershell就算更新了,3.0,4.0,5.0,也还是显示版本过低:
Name : ConsoleHost
Version : 4.0
InstanceId : 49d1da7b-5453-4a69-9e44-b0bbdb638d83
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : zh-CN
CurrentUICulture : zh-CN
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
推荐文章: