I believe some of the scripts that come with GPMC can be helpful here. As
for creating the XML file for structure, not as sure it's already built.
You do have some vbscript or perl options available that handle creating the
XML structures for you though. Take a look at the GPMC file and you'll see
what I mean. (there was a conversation yesterday about exporting the GPMC
stuff on this list, and I just replied to some of that. You'll see the
methods etc that relate to using XML vs. plain text in those files)
Drop a note if that's not what you had in mind though.
-ajm
From: <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: <[email protected]>
Subject: [ActiveDir] Script to export an AD environment to XML
Date: Fri, 21 Oct 2005 13:22:42 +0100
I need to build a test env and then export it lock, stock and barrel to
an XML file, so that the env can be re-created just using the XML file.
I need to export:
OU structure and permissions
GPOs and permissions
Users
Groups and memberships
I would normally use ldifde to export objects and GPMC scripts to export
GPO information but cannot find a way/script to export all of the above
into one XML file.
Any ideas?
Thanks,
neil
___________________________
Neil Ruston
Global Technology Infrastructure
Nomura International plc
PLEASE READ: The information contained in this email is confidential and
intended for the named recipient(s) only. If you are not an intended
recipient of this email please notify the sender immediately and delete
your
copy from your system. You must not copy, distribute or take any further
action in reliance on it. Email is not a secure method of communication and
Nomura International plc ('NIplc') will not, to the extent permitted by
law,
accept responsibility or liability for (a) the accuracy or completeness of,
or (b) the presence of any virus, worm or similar malicious or disabling
code in, this message or any attachment(s) to it. If verification of this
email is sought then please request a hard copy. Unless otherwise stated
this email: (1) is not, and should not be treated or relied upon as,
investment research; (2) contains views or opinions that are solely those
of
the author and do not necessarily represent those of NIplc; (3) is intended
for informational purposes only and is not a recommendation, solicitation
or
offer to buy or sell securities or related financial instruments. NIplc
does not provide investment services to private customers. Authorised and
regulated by the Financial Services Authority. Registered in England
no. 1550505 VAT No. 447 2492 35. Registered Office: 1 St
Martin's-le-Grand,
London, EC1A 4NP. A member of the Nomura group of companies.
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/