因为在此系统上禁止 运行脚本

土豆烧鸡 40 Reputation points
2024-01-23T09:12:57.69+00:00

User's image

这个怎么用脚本自动解决?谢谢!

Windows for business | Windows Server | User experience | PowerShell
{count} votes

Accepted answer
  1. Anonymous
    2024-01-24T02:30:20.75+00:00

    尊敬的客户,您好! 感谢您在Q&A论坛发帖。 您可以尝试下面的步骤试试:

    1.首先,使用“以管理员身份运行”打开 PowerShell。 2.然后,在 PowerShell 中运行此命令 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned 3.之后,键入 Y 并按 Enter 键。

    希望上述的回复对您有帮助。

    如有任何问题,欢迎您随时咨询我们。

    Best Regards, Daisy Zhou


    如果答案有帮助,请点击“接受答案”并投赞成票。

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.