关于执行策略RemoteSigned的问题 [英] A question about execution policy RemoteSigned

查看:335
本文介绍了关于执行策略RemoteSigned的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello

我一直认为,根据我过去的内容,如果您的PoweShell执行策略设置为RemoteSigned并且您在 上创建了PowerShell脚本计算机-A然后通过网络将其复制到另一台计算机-B当您尝试从计算机B上的脚本
运行时,它将失败(除非由受信任的发布者签名)。但是,如果这只是与通过WEB浏览器下载的文件有关,那么情况似乎并非如此?

I always thought from what i read in the past, that if your PoweShell execution Policy was set to RemoteSigned and you create a PowerShell script on  computer-A then copied it across the network to another computer-B when you tried to run from the script on Computer-B it would fail (unless signed by a trusted publisher). However this does not appear to be the case, if this therefore only related to files download via a WEB Browser?

谢谢

AAnotherUser __

AAnotherUser__

AAnotherUser __

AAnotherUser__

推荐答案

不 - 那不是怎么回事是设计或描述的。 本地文件不是远程文件。

No - that is not how it is designed or described.  A local file is NOT a remote file.

您正在考虑从Internet下载的文件被阻止。

You are thinking of files downloaded from the Internet that are blocked.


这篇关于关于执行策略RemoteSigned的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆