在此系统上禁止运行脚本,解决方法
2021-12-13 本文已影响0人
i_木木木木木
- 打开
PowerShell
然后输入
get-executionpolicy
- 以管理员身份打开
PowerShell
输入
set-executionpolicy remotesigned
选择Y 然后电脑上就可以执行自己编写的脚本文件
PowerShell
然后输入get-executionpolicy
PowerShell
输入set-executionpolicy remotesigned
选择Y 然后电脑上就可以执行自己编写的脚本文件