This script will move the site “ToBeMoved” to be under “ToBeMovedTo” and change its Url and Title to “Moved”
$w = Get-SPWeb 'http://servername/ToBeMoved'
$w.Url
$w.ServerRelativeUrl = '/ToBeMovedTo/Moved'
$W.Title = 'Moved'
$w.Update()
$w.Url
Please note that it will take some time to be updated.
3 comments:
!!you have just saved someone...Thanks...
You just saved someone his day!!! Thanks..
When I think i've done a full library to do this and there is a so simple solution for this... Thanks saving me from ignorance
Post a Comment