最早的ADM(ADOM)模板版本是'旁路' PowerShell执行策略的选项?

发布于 2025-02-06 18:38:20 字数 532 浏览 1 评论 0原文

我们客户的Active Directory域仍然只有2008模板,直到Windows 2022(2016年的DCS) “在此处输入图像说明”

这些是2008模板中唯一可用的选项(no bypass no'bypass'):

我们需要'

Set-ExecutionPolicy Bypass

..但是 对于Windows 2012,我认为2016年应该足够好,直到所有2012年Rep of the 2012;

Our client's Active Directory domain still only has 2008 templates while running servers all the way up to Windows 2022 (DCs at 2016)enter image description here

These are the only OPTIONS available in 2008 templates (no 'ByPass' there):
enter image description here

..but we need 'Bypass"

Set-ExecutionPolicy Bypass

What is the earliest ADM (ADOM) templates version with the 'ByPass' option for the PowerShell 'Execution Policy? If they apply the 2022 ADM templates is that back compatible to Windows 2012R2? I think 2016 should be good enough for now, until all the 2012R2 are rotated out; what do you all think?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

惜醉颜 2025-02-13 18:38:20

除了编辑注册表外,ADMX中没有直接对旁路的支持
使用GPO首选项> Windows设置>注册表
旁路的GPO中添加/编辑reg_sz条目
hklm> Microsoft> powerShell> 1> shellIds> microsoft.powershell> executionpolicy

“在此处输入图像说明”

No support for Bypass directly in the ADMX other than to edit the registry
Using GPO Preferences>Windows Settings>Registry
Add/Edit an REG_SZ entry to the registry in the GPO of Bypass
HKLM>Software>Microsoft>PowerShell>1>ShellIds>Microsoft.PowerShell>Executionpolicy

enter image description here

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文