Monthly Archives: February 2014

PowerShell – Copy Current Navigation from SharePoint Site to another SharePoint Site

Very Handy! Use this in a content migration scenario, or updating many sites with the same navigation. $sourcewebURL = “http://teams/sites/teamsiteA” $targetwebURL = “http://teams/sites/teamsiteB” $find = “/teamsiteA/” $replace = “/teamsiteB/” $targetweb = get-spweb $targetwebURL $sourceweb = get-spweb $sourcewebURL $targetpub = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($targetweb) … Continue reading

Posted in Uncategorized | 4 Comments