STSADM (Part 2)
This is the second of three STSADM posts we have planned. This post covers commands that were new between RTM and SP2. Topics/Commands covered in this post: Renamesite Mergecontentdbs Setsiteuseraccountdirectorypath peoplepicker-searchadcustomfilter Trimauditlog Renamesite Syntax: stsadm -o renamesite -oldurl <oldUrl> -newurl <newUrl> Usage: http://technet.microsoft.com/en-us/library/cc263038.aspx http://support.microsoft.com/kb/939535 Origin: http://support.microsoft.com/kb/939592 (Pre-SP1) EX: stsadm -o renamesite -oldurl http://www.hhsitecol.com -newurl http://new.hhsitcol.org In this screenshot, notice our host-named site collection is www.hhsitecol.com After we run the command, the address will be updated. The second screenshot (below) shows a refresh of the site collection list after the command was run. As you can see the site collection has been renamed to new.hhsitecol.org
See the original post here:
STSADM (Part 2)


