Stsadm using a file to loop through for values?
Hit a problem with my sites not picking up changes to my masterpage. If i manually open each site and change the default master to another page, then change it back to the one i want, it picks up the changes. I have 10,000 sites, so doing it manually is not an option and some sites have different masterpages so i can't run a whole command for the farm. I have a csv file with all the sites and masterpages i need to update, my question is, can i use this file with stsadm, i would like stsadm to loop through for the values. I have found a Gary Lapointe command so i have 2 things i was thinking of, obviously the easiest would be my preferred option! stsadm -o gl-setmasterpage -url "<i want to loop through text file and pull through url here>" -sitemaster "<i want to loop through text file and pull through custom master url here here>" -systemmaster "i want to loop through text file and pull through custom master url here here" If you can help point me in the right direction that would be great! Thanks!
June 25th, 2011 10:46am

Hi, According to my understanding, I have found a blog about setting the master page using stsadm, for more information, please refer to: http://blog.falchionconsulting.com/index.php/2009/02/setting-the-master-page-using-stsadm/ Best Regards David Hu
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2011 4:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics