- 打开
PowerShell
然后输入
get-executionpolicy
- 以管理员身份打开
PowerShell
输入
set-executionpolicy remotesigned
选择Y 然后电脑上就可以执行自己编写的脚本文件
PowerShell
然后输入get-executionpolicy
PowerShell
输入set-executionpolicy remotesigned
选择Y 然后电脑上就可以执行自己编写的脚本文件
本文标题:在此系统上禁止运行脚本,解决方法
本文链接:https://www.haomeiwen.com/subject/gmpsfrtx.html
网友评论