Solved

How to list GPO's in an OU using c#

Posted on 2010-09-14
3
1,136 Views
Last Modified: 2012-05-10
Hi.

I want to use C# to list GPO's in a OU. How do i do that using c#.
I have installed GPMC and imported this into c#.
Does anyone have some examples of this?
0
Comment
Question by:ErikVest
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 33676490
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 33676535
this also shows how to enumerate over all gpos in the domain, the ou object should have something simliar.

http://msdn.microsoft.com/en-us/library/ee862406(VS.85).aspx
0
 

Author Closing Comment

by:ErikVest
ID: 33912442
Hi.

Well it resolved some of my problems. But you was the only one who answered so you get the jackpot. :D
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now