How can I change the name on a root web?
Right now it's http://dev1/sites/dog
.
I am trying to change it to http://dev1/sites/cat
I have tried
$web = get-spweb http://dev1/sites/dog
$web.Name = "cat"
$web.Update()
But I get an exception that its not possible to move the root web?
I have also tried to do it via SPSite.Rename()
and .Rootweb.Name
.
I couldn't find any answers at all beside some guy that said it's only possible with sub webs.