Andrew Kennel

Web Developer

Another update to SPWakeUp

April 08, 2008

I’ve made another update to my SPWakeup script.This latest version adds the ability to wake Site Collections in addition to Sub Sites.As always, you can download the latest version here:http://code.msdn.microsoft.com/spwakeup This script uses STSADM to list the sites. It runs stsadm -o enumsubwebs and stsadm -o enumsites then parses through the resulting text.Both commands return…

I’ve made another update to my SPWakeup script.
This latest version adds the ability to wake Site Collections in addition to Sub Sites.
As always, you can download the latest version here:
http://code.msdn.microsoft.com/spwakeup

This script uses STSADM to list the sites. It runs stsadm -o enumsubwebs and stsadm -o enumsites then parses through the resulting text.
Both commands return their data in XML. I’ve found it easier to just treat the results as plain text and strip out the XML tags:
cmd2output = cmd2output.Substring(13);
cmd2output = cmd2output.Substring(0, cmd2_output.IndexOf(‘”‘));

Share This Post