在Powershell中运行脚本出错,提示如下
- Windows - Cannot be loaded because running scripts is disabled on this system
使用管理员权限启动PowerShell,并解除禁止运行脚本
set-executionpolicy remotesigned
解决在 Powershell 中运行脚本时遇到的权限问题
在Powershell中运行脚本出错,提示如下
使用管理员权限启动PowerShell,并解除禁止运行脚本
set-executionpolicy remotesigned