Title: How to determine which is the default site
My lowest numbered site has a USN of > 1.8 million. Though I know I deleted the original one and probably 50 after that.
 
  joe


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee, Wook
Sent: Wednesday, April 13, 2005 2:36 PM
To: [email protected]
Subject: RE: [ActiveDir] How to determine which is the default site

From the tests I’ve run so far, it’s been pretty consistent that the first site has a USNCreated of 4112 for an fresh Window 2003 AD. For forests that started life as Windows 2000, I’ve been seeing 3493, but at least one forest has it at 1171. Not sure what that’s about.

 

Wook

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Wednesday, April 13, 2005 9:24 AM
To: [email protected]
Subject: RE: [ActiveDir] How to determine which is the default site

 

Why?

 

Nothing I have seen in my experience would seem to indicate anything special about that first site, in fact my home test lab has been running with that first site deleted for some time now and I am running with other sites.

 

Someone mentioned looking at the GUIDs. GUIDs are not sequential, they are semi-randomly created, see MSDN for the algorithm. Trying to divine order from them would be fruitless.

 

Here would be a simple command line to find the oldest site

 

adfind -config -f objectcategory=site whencreated -sort whencreated -maxe 1

 

 

This would look at the config container, find all site objects, sort them by whenCreated, then return the DN and whenCreated attribute for the first one.

 

   joe

 

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruston, Neil
Sent: Wednesday, April 13, 2005 9:54 AM
To: '[email protected]'
Subject: [ActiveDir] How to determine which is the default site

At some point in the dim, dark past, the default site was renamed (I assume it was not removed!)

Does anyone have a quick and easy way to determine which of the existing sites was once the default site? [It has been suggested that I look at the create date for all the sites and that the oldest one will be the default site :) I have >100 sites so need something more elegant/quicker. ]

Any suggestions more than welcome.

Thanks,
neil

==============================================================================
This message is for the sole use of the intended recipient. If you received this message in error please delete it and notify us. If this message was misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains and monitors electronic communications sent through its network. Instructions transmitted over this system are not binding on CSFB until they are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================

Reply via email to