Hey everyone!
Today I was testing a migration from our client portal from MOSS 2007 to SharePoint 2010.
After the stsadm preupgradecheck and a few errors, the rest went smooth. Once migrated, I noticed the look & feel was still 2007 — because of the visual upgrade setting.
You can trigger the visual upgrade two ways.
Option 1: Via the UI
Go to the top-level site → Site Actions → Site Settings → under “Site Collection Administration” → Visual Upgrade.
Option 2: Via PowerShell
Let’s admit it, we’ve all been waiting to use this wonderful language. Here’s the script (you can also do the same in C# code):
$site = Get-SPSite("sitecollectionurl")
foreach ($web in $site.AllWebs) {
$web.UIVersion = 4
$web.Update()
}
UIVersion = 4→ SharePoint 2010 look & feelUIVersion = 3→ SharePoint 2007 look & feel
Sources: