Win7下执行powershell提示禁止执行脚本

执行任意ps脚本提示禁止执行

 解决方法:

在左下角输入powershell,右击已管理员权限运行

Win7下执行powershell提示禁止执行脚本_第1张图片

执行set-executionpolicy remotesigned即可

Win7下执行powershell提示禁止执行脚本_第2张图片

 后面即可正常执行ps脚本

 

你可能感兴趣的:(Win7下执行powershell提示禁止执行脚本)