Querying Group Policy - Restricted Group

Hello experts,

Scenario: We are receiving ESM alerts indicating that some of the GPOs we have in the domain have NT Authority\Authenticated Users part of the BUILTIN\Power Users group. We have 400 GPOs in a domain that we need to query which ones are the culprit.
 
Question is:

2) Is there a script that you guys can share to capture these GPOs that have "NT Authority\Authenticated Users" that is a member of the BUILTIN\Power Users Group.
3) And finally a script to remove the "Authenticated Users" from this group of the identified GPOs.

Thank you!
IT_Admin XXXXAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
I have good news for you (I hope): the power users group has been deprecated for all OS' made 2006 and later: vista/7/8/10/2008/2012
It has no effect being a member of that group unless you still use server 2003/xp

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.