1.搜索powershell,右键以管理员身份运行(Windows PowerShell)
2.执行:set-ExecutionPolicy RemoteSigned (注:记得路径是C:\Windows\system32 下执行)
3.查看执行策略:get-ExecutionPolicy
1.搜索powershell,右键以管理员身份运行(Windows PowerShell)
2.执行:set-ExecutionPolicy RemoteSigned (注:记得路径是C:\Windows\system32 下执行)
3.查看执行策略:get-ExecutionPolicy