关于执行策略RemoteSigned的问题

编程入门 行业动态 更新时间:2024-10-20 00:30:22
本文介绍了关于执行策略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的问题

本文发布于:2023-11-29 20:28:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1647543.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:策略   RemoteSigned

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!