最早的ADM(ADOM)模板版本是'旁路' PowerShell执行策略的选项?
我们客户的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)
These are the only OPTIONS available in 2008 templates (no 'ByPass' there):
..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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除了编辑注册表外,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