Solved

Scripting site cost links for Active Directory sites

Posted on 2013-12-21
5
381 Views
Last Modified: 2013-12-26
Hi guys,

I hope you have a great Christmas and new year.

We would like to script the following:

A site cost of 100 for 80 of our AD sites.
A site cost of 50 for 10 of our AD sites
A site cost of 25 for 3 of our AD sites.

Any help on this would be greatly appreciated.
0
Comment
Question by:Simon336697
  • 2
  • 2
5 Comments
 
LVL 5

Expert Comment

by:nashim khan
ID: 39734385
0
 
LVL 5

Accepted Solution

by:
nashim khan earned 400 total points
ID: 39734387
Hi,

http://technet.microsoft.com/en-us/library/cc978016.aspx

Please see the above link also to understand your query.
0
 
LVL 35

Assisted Solution

by:Mahesh
Mahesh earned 100 total points
ID: 39735865
Cost is assigned to site links and not sites.
At this point of time I don't think there will be script written by anybody to edit site link cost in bulk
You need to do it manually

Mahesh
0
 
LVL 1

Author Comment

by:Simon336697
ID: 39740795
Thanks guys
0
 
LVL 1

Author Comment

by:Simon336697
ID: 39740798
Thanks Nashim and mahesh.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to count occurrences of each item in an array.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now