在cmd下使用 vagrant up 命令报错: Failed to locate the powershell executable on the available PATH.

2025-05-05 17:12:56
推荐回答(2个)
回答1:

这个意思是:
在有效的路径中未能执行PowerShell命令. 请检查PowerShell的安装和有效的路径,然后再尝试重新运行这个命令。

回答2:

在环境变量path中添加powershell的路径,例如:C:\Windows\System32\WindowsPowerShell\v1.0