troubleshooting Question

Determine if a local GPO is enabled from the command line

Avatar of JD Payne
JD PayneFlag for United States of America asked on
PowershellActive Directory
4 Comments1 Solution90 ViewsLast Modified:
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
Ben Personick (Previously QCubed)
Lead SaaS Infrastructure Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros