Link to home
Start Free TrialLog in
Avatar of sysnimda
sysnimda

asked on

GPO Linked enabled - How to confirm GPO is applied to OU members

Hello -

I have enabled and linked enabled a GPO. I want to make sure all servers associated with the OU for which this GPO is linked too has the GPO applied/updated. Is there a Power Shell script that will allow me to see if a list of servers have been updated with GPO?

Thank you!

sysnimda
Avatar of Harjit Dhaliwal
Harjit Dhaliwal
Flag of United States of America image

You can use gpresult to get the applicability of GPOs on systems.
Example:
gpresult / r /scope:user
gpresult /r /scope:computer

Remote system: gpresult /s server1 /r

Avatar of sysnimda
sysnimda

ASKER

I have those, however I am looking for a power script to run on all servers.
ASKER CERTIFIED SOLUTION
Avatar of Harjit Dhaliwal
Harjit Dhaliwal
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That is exactly what I am looking for. Thanks!