document.write("");

win: 无法加载文件xxx, 因为在此系统上禁用了运行脚本

无法加载文件 D:\xxx\serve.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/
go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。

 

1. 开启PowerShell (管理员)

2. 输入:Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

3. 回车

4. 输入:Y

5. 回车

完成

 

posted @ 2022-12-09 21:27  人间春风意  阅读(152)  评论(0)    收藏  举报