Posted on Posted in SharePoint 2007, STSADM Commands

This is one of those things that I just shouldn’t have had to create. So I’m going through my upgrade and I come to the point where I’m ready to start scripting the upgrade of the individual team sites (I’d been focusing on the upgraded Areas up until now). I figured no problem – this will be easy, all the documentation says I just need to use the built-in "upgrade" command – simply pass in the url you want to upgrade or an xml file containing multiple urls and you’re good to go. So I started off with a command like this:

C:\>stsadm -o upgrade -sidebyside -reghost -sitelistpath "c:\sites.xml"