System GUID for each DC
Posted on 2006-11-22
I wanted to see if anyone had a VBScript to do something like this...
1. List the GUID of each DC
2. List the 'expected' GUID from each directory replication partner DC
Right now, I have to use either ADSIedit or NTDSUTIL to harvest this info, looking for a GUID mis-match. This happens when someone performs a Force Remove of Active Directory from a DC which leaves alot of orphaned Directory data for the DC, then promotes a DC of exactly the same name back into AD.
If you have suggestions which fall outside the VBScript realm, I am open to suggestions.
Thank you and Happy Thanksgiving!