【发布时间】:2013-08-28 11:40:10
【问题描述】:
在 Windows 8 机器上,我想阅读 GPO 设置“帐户:阻止 Microsoft 帐户”,可以通过此处手动配置:
Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options -> "Accounts: Block Microsoft accounts"
但是我想使用 powershell 脚本
来读取设置我尝试的两个选项:
- 使用 Get-GPOReport 生成 HTML 报告:不会出现本地政策。
- 使用 gpresult /r : 对于本地组策略,它显示以下 GPO 未应用,因为它们已被过滤掉。
谁能指导我应该如何进行。 我对 powershell 非常陌生!
谢谢。
【问题讨论】:
标签: powershell windows-8 gpo