Should be working - just create a example OU with the
specific settings, adfind gPLink and gPOptions into variables (actually
gPOptions: read it once and set it statically without reading in a variable) and
use admod to write the gPLink and gPOptions-attributes of the other
OUs.
Ulf
Thanx, I will test it out :-)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamlesh Parmar
Sent: Wednesday, March 01, 2006 8:55 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Link single GPO to multiple OUs using script or something
moreover, I will see if I can create a combination of adfind and admod to achieve this.
--
Kamlesh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Be the change you want to see in the World"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On 2/28/06, Ulf B. Simon-Weidner <[EMAIL PROTECTED]> wrote:You can do this with a simple VBS, LDIF-File or whatever is convenient for you to change AD since you only need to modify the gPLink- and gPOptions-Attributes. Look at the following example from the Technet Scriptcenter:Gruesse - Sincerely,
Ulf B. Simon-Weidner
MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
Weblog: http://msmvps.org/UlfBSimonWeidner
Website: http://www.windowsserverfaq.org
Profile: http://mvp.support.microsoft.com/profile="">
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kamlesh Parmar
Sent: Monday, February 27, 2006 11:12 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Link single GPO to multiple OUs using script or somethingBasically, we have > 50 Location OUs each having different sub OUs for servers, desktops, laptops.
My problem is I want to apply policy to all laptops, but I don't have all laptops with XP, some are win2K.
So can't use a WMI query to filter out dekstops and servers and create single policy.
So only option left is create a policy and link it to so many OUs.
Is it possible to link a single GPO to multiple OUs using script or utility like admod.exe
Thanks in advance
--
Kamlesh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Be the change you want to see in the World"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~