PowerShell:因为在此系统上禁止运行脚本,解决方法

516 阅读1分钟
  • 查看 PowerShell 然后输入 get-executionpolicy
    Restricted 执行策略不允许任何脚本运行

  • set-executionpolicy remotesigned 选择 y