Link to home
Start Free TrialLog in
Avatar of J.D. Payne
J.D. PayneFlag for United States of America

asked on

Determine if a local GPO is enabled from the command line

I have to check if a local group policy has been enabled on a Server 2012 non-domain joined host. Is there a way to accomplish this via the command line? I do not want a list of all GPOs using gpresult. I'm basically looking to run a command from Powershell that either calls another command line utility, or can be achieved via a Powershell cmdlet. Get-GPO doesn't seem to do what I need. Any help is greatly appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Ben Personick (Previously QCubed)
Ben Personick (Previously QCubed)
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
Avatar of J.D. Payne

ASKER

Thanks Ben. This is exactly what I needed. Works perfectly!
Perfect! Thank you!!!
Thanks Jerry, glad to help :)