首页 文章

PowerShell脚本无法执行 - ServiceFabric

提问于
浏览
0

我是Service Fabric的新手,我很难将服务结构项目运行到本地群集 . 我一直收到错误: The PowerShell script failed to execute

我搜索了这个错误,我读到必须以管理员身份打开VisualStudio - 我以管理员身份运行 - 所以这不是问题

我在PowerShell中运行此命令:

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser

但它无法解决问题 . 我一直在使用Powershell脚本收到错误 - 它在执行时失败了 . 你能建议吗?

1 回答

  • 0

    尝试将脚本直接复制并粘贴到PowerShell中 . 如果它不起作用,您可能会得到更详细的原因

相关问题