When I created my site collection we called it /sites/teama. The business has changed the name of teama to teamb. How can I change the URL for our site collection.
If it is a root site collection, you will need to do the change the URL in two places: Alternate access mappings - In central admin modify the alternate access mappings from sites/teama to /sites/teamb
IIS bindings : Modify the binding in IIS for the web application from /sites/teama to /sites/teamb
Or alternatively you can try the following commands:
Try this one (min. SP1 on MOSS2007)
STSADM -renamesite -oldUrl xxx -newUrl yyy (see here http://technet.microsoft.com/en-us/library/cc263038(v=office.12).aspx)
Has no direct equivalent in Powershell, but there is Set-SPSite (http://technet.microsoft.com/en-us/library/ff607958.aspx)
Hope it helps, C:\Marius