Visual Upgrade SharePoint 2010 (easy way and “hard” way)

Hey everyone

Today I was testing a migration from our clientportal from MOSS 2007 to SharePoint 2010.

Well after the stsadm preupgradecheck and a few error the rest went smooth.

Once migrated I noticed that the look & feel still 2007 was, this was ofcourse of the visual upgrade setting.

Well you can visual upgrade via 2 ways.

(top level site) Site Actions -> Site Settings -> and in site collection administration Visual Upgrade

or the way I used is via PowerShell (let’s admit it , we’ve all been waiting to use this wonderful and easy language)

well here’s the powershell script (and ofcourse you can use some in C# code.

$site = Get-SPSite(” sitecollectionurl “)

foreach ($web in $site.AllWebs) { $web.UIVersion = 4; $web.Update() }

The thing is UIVersion = 4 sets the view to SharePoint 2010

UIVersion = 3 sets the view to SharePoint 2007.

sources:

www.sharepointdevwiki.com

http://mysharepointwork.blogspot.com/

Leave a Reply

Your email address will not be published. Required fields are marked *