Command to find the number of Sitelink’s for the corresponding site

By | June 4, 2009

Command to find the number of Sitelink’s for the corresponding site

csvde -f C:Tempsite.csv -d “CN=Inter-Site Transports,CN=Sites,CN=Configuration,DC=test,DC=com” -r “(CN=*site2*)” -l “cn”

In the above command you will get the output in site.csv file, it contains all the Sitelinks and it’s corresponding DN

Eg: Output

DN,cn
“CN=site1/site2,CN=IP,CN=Inter-Site Transports,CN=Sites,CN=Configuration,DC=test,DC=com”, site1/site2

In this

site2 – Site Name
site1/site2 – Sitelink Name
Test.Com -Domain Name

If you have more then one site link you will get all the Siteliks in the output file

Leave a Reply

Your email address will not be published. Required fields are marked *