如何禁用安全警告:如何禁用安全警告
Run only scripts that you trust
While scripts from the Internet can be useful, this script can potentially harm your computer
Do you want to run in POWERSHELL
我已经尝试设置策略不受限制。
的操作系统是Windows Server 2003
这我想执行的脚本是在网络驱动器。
如何禁用安全警告:如何禁用安全警告
Run only scripts that you trust
While scripts from the Internet can be useful, this script can potentially harm your computer
Do you want to run in POWERSHELL
我已经尝试设置策略不受限制。
的操作系统是Windows Server 2003
这我想执行的脚本是在网络驱动器。
网络位置通常与互联网的其余部分放在同一个不受信任的区域。您可以将位置添加到受信任的站点,也可以使用Set-ExecutionPolicy
从提升的PowerShell更改执行策略。
它实际上是一个网络驱动器我可以添加吗? – user1383839
互联网选项,安全,值得信赖的网站,据我记忆。 – Joey
设置后的安全策略是什么?如果在运行'Set-Executionpolicy'时没有升级,运行'Get-Executionpolicy'时将看不到效果,在这种情况下,您需要将该策略设置为管理员 – jsvk