|
|
|||||||
Hi, We are merging about 300 sites (travel agencies) into our 2003 AD domain, and i was wondering: is it possible to create all the nessecary sites, subnets and site-links via KiX or command line? Each agency is connected via some sort of VPN, with their class C IP subnet and only one DC on location. All agencies have a unique name (000 - 999 range) and as much communication should be local. |
||||||||
|
|
|||||||
To get started, take a look at the Active Directory Cook Book. Scroll down to the Site Topology section |
||||||||
|
|
|||||||
In the sample chapter there's ain't a section sites... Maybe i can get the book somewhere, or does anybody has any sample script to create the Sites, Sitelinks and Subnets ? |
||||||||
|
|
|||||||
Just scroll down on that page, don't go to the sample chapter. You don't see the site topology section? Quote: If you still can't find it let me know, and i can post the vbscript examples they give for anything that you need. |
||||||||
|
|
|||||||
If you download The Portable Script Center or access them online from http://www.microsoft.com/technet/scriptcenter you will find a large collection of VBS scripts. |
||||||||
|
|
|||||||
Clearly you get chapter 11, as i still get chapter 8 (something about computers and manipulating them)... |
||||||||
|
|
|||||||
Les: thankz. I searched the script center and alteady found some usefull pages !! |
||||||||
|
|
|||||||
well it looks to me like you clicked on the "sample chapter" link again...if i do that i get chapter 8 in pdf format. But on the page from the link i posted, i get sample code from chapters 2-18. Anyway, good luck. |
||||||||
|
|
|||||||
You see this? 11. Site Topology 11.1. Creating a site (VBScript) (LDIF) (Perl) 11.2. Listing the sites (VBScript) (Perl) 11.3. Deleting a site (VBScript) (Perl) 11.4. Creating a subnet (VBScript) (LDIF) (Perl) 11.5. Listing the subnets (VBScript) (Perl) 11.7. Creating a site link (VBScript) (LDIF) (Perl) 11.8. Finding the site links for a site (VBScript) (Perl) 11.9. Modifying the sites that are part of a site link (VBScript) (LDIF) (Perl) 11.10. Modifying the cost for a site link (VBScript) (LDIF) (Perl) 11.11. Disabling site link transitivity and site link schedules (VBScript) (Perl) 11.12. Creating a site link bridge (VBScript) (LDIF) (Perl) 11.13. Finding the bridgehead servers for a site (VBScript) (Perl) 11.14. Setting a preferred bridgehead server for a site (VBScript) (LDIF) (Perl) 11.15. Listing the servers (VBScript) (Perl) 11.16. Moving a domain controller to a different site (VBScript) (Perl) 11.17. Configuring a domain controller to be in multiple sites (VBScript) (Perl) 11.19. Disabling automatic site coverage for a domain controller (VBScript) (Perl) 11.20. Finding the site for a client (VBScript) (Perl) 11.21. Forcing a host to a particular site (VBScript) (Perl) 11.23. Listing the connection objects for a domain controller (VBScript) (Perl) 11.25. Finding the ISTG for a site (VBScript) (Perl) 11.26. Transferring the ISTG to another domain controller (VBScript) (Perl) 11.27. Triggering the KCC (VBScript) (Perl) 11.29. Disabling the KCC for a site (VBScript) (LDIF) (Perl) 11.30. Changing the interval at which the KCC runs (VBScript) (Perl) |
||||||||
|
|
|||||||
Yep, along with the same format for chapters 2-18. I've had the page bookmarked for quite a while and it's the first resource i check when i'm writing any AD scripts - extremely helpful. But i guess nobody else sees it... |
||||||||
|
|
|||||||
I'm stuped.. Say again? Yes, i'm stupid.. Since when you can scroll pages? Nobody told me! Enough excuses, i looked again an i saw the samples. This is really a great page for me! Thankz again. |
||||||||
|
|
|||||||
Another one sees the light |
||||||||
|
|
|||||||
it's good during these dark ages we live in |
||||||||
|
|
|||||||
You don't have to rub it in |