I guess it could restore the groups first, then configure the memberships????
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Mulnick Sent: 11 October 2005 16:29 To: [email protected] Subject: RE: [ActiveDir] Interesting Scripting Task..... To automate the import of the .ldf files you need to shell to a command prompt and run the ldif import commands appropriate for what you want to do. A batch file would work as well. If you wanted to automate it all, you could use the batch/.cmd file completely to do this. Al -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jensen, Ken Sent: Tuesday, October 11, 2005 10:39 AM To: [email protected] Subject: RE: [ActiveDir] Interesting Scripting Task..... There must be a scriptable way of automating the import of .ldf files as well. We have had good success re-creating our production environment using server imaging and exports of our OU, groups and user fields. We did have a bit of trouble with users and groups but found it was the order in which we did it that mattered. As long as all the groups are done before users, we didn't have a lot of issues and could break, err , test things quite realistically. Regards, Ken Jensen Capistrano Unified School District San Juan Capistrano, California I tell ya, if that did it for me, I'd be the happiest man on earth... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smith, Brad Sent: Tuesday, October 11, 2005 1:28 AM To: [email protected] Subject: RE: [ActiveDir] Interesting Scripting Task..... Thanks all for the replies.... Darren- I wil linvestigate the scripts you mention and see how I get on. Al/Ed- I need to run this on the same network as the production domain (W2K) and hence need to use a different domain name Kamlesh- The original post of that tool is what got me started thinking this is possible. I didn't have much louck using Xsync unfortunately, it seemed a bit lacking functionality as it didn't do GPO's at all and needed the logon/password credentials in each domain to be identical...weird but annoying. I will report back when I have looked into Darren's scripts.... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Crowley [MVP] Sent: 10 October 2005 23:45 To: [email protected] Subject: RE: [ActiveDir] Interesting Scripting Task..... I've written that, and it's actually rather straightforward if you're willing to tackle VBScript and ADSI. Another option you might consider is Microsoft Virtual Server or VMware, where you can build a VM with your environment, save it as a "golden master", and use it as the base when you need to rebuild your lab. Ed Crowley MCSE+Internet MVP Freelance E-Mail Philosopher Protecting the world from PSTs and Bricked Backups!T -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smith, Brad Sent: Monday, October 10, 2005 8:08 AM To: [email protected] Subject: [ActiveDir] Interesting Scripting Task..... All, I am pondering the possibility of automating the creation of development environments. The problem I am hoping to solve is that a lot of our testing needs to be done in an environment where all our Ous, GPOs, Groups and so forth are present. Recreating this is a nightmare, so to alleviate this I want to write an import/export script that dumps all the OU's, Groups, Users and GPO's (including security) and then restores them in a different target domain (different forest too). Has anyone attempted/achieved this before? Brad This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150) List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ This communication and any documents, files, or previous e-mail messages attached to it constitute an electronic communication within the scope of the Electronic Communication Privacy Act, 18 USCA 2510. This communication may contain non-public, confidential, or legally privileged information intended for the sole use of the designated recipient(s). The unlawful interception, use or disclosure of such information is strictly prohibited under 18 USCA 2511 and any applicable laws. List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
