使用powershell 执行脚本,windows默认不允许任何脚本运行

使用如下命令让PowerShell运行在无限制的环境之下:
Set-ExecutionPolicy Unrestricted

  

原文地址:https://www.cnblogs.com/techliang666/p/8280907.html