http://windowstricks.in/

We've moved from ganesh-windowstricks.blogspot.in to windowstricks.in,please update your feeds & links!

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

4 June 2009

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

csvde -f C:\Temp\site.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

Share this . . .

0 comments:

Post a Comment

Copyright   © 2014 - www.Windowstricks.in - all rights reserved | Powered by Blogger | Blogger template The Beach by Ourblogtemplates.com

Back to TOP