简体   繁体   中英

Get a specific Rule ID in a GPO

i am currently working on Windows Active Directory, and i would like to know if it's possible to get the id of a rule defined in a GPO. Because i would like write some powershell scripts to check if some rules are activated or not. I've found out that it was linked into the registers but only for the current user but i don't want to run my script for every user but only on the server domain or domain administrator account.

For example i've written a GPO telling that every basic user should not have the right to use the task manager i can get a report on my GPO containing list of users which are submitted to this rule, GPOID, and other information but no information about the rule except its name which is in this case "Disable TaskMgr"

作为组策略cmdlet的一部分的Get-GPO命令似乎返回了一个GUID,该GUID调用了ID和状态。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM