SharePoint Migration from MOSS to 2010- Bit about Visual Upgrade. PowerShell script to perform Visual upgrade from MOSS to SharePoint 2010

visual upgrade from MOSS to SharePoint 2010
visual upgrade from MOSS to SharePoint 2010

Hi All,

Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂

Background : We were migrating our MOSS (SharePoint 2007) application to SharePoint 2010. Our custom solutions are successfully deployed to new SharePoint 2010 web application. We are using content database attachment method. Our DBs are mounted successfully to SharePoint 2010 web application.

Next step is Visual upgrade.

Bit details for SharePoint 2010 Visual upgrade :

  • SharePoint 2010 have new user interface having significant advancement over the user interface experience provided by Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007
  • SharePoint 2010 provides a feature known as Visual Upgrade to ease the transition to the new SharePoint 2010 user interface
  • The new SharePoint 2010 user interface avoids many of the unnecessary postbacks, the confusing page transitions, and the table-based page layouts of the previous version
  • Much improved user experience that includes a server-side ribbon and new client-side behavior that executes standard user commands behind the scenes by using asynchronous callbacks to the web server
  • The new user interface in SharePoint 2010 has been rebuilt from the ground up. Therefore, it uses new master pages and new .css files that were not included with Windows SharePoint Services 3.0 or Office SharePoint Server 2007
  • The user interface of Windows SharePoint Services 3.0 and Office SharePoint Server 2007 is named version 3 because Windows SharePoint Services 3.0 carries the version number of 3.0
  • The new user interface of SharePoint 2010 is named version 4
  • Some files that are included with SharePoint Foundation 2010 have either a v3 or a v4 in their name to indicate which version of the user interface they are designed to support
  • Whenever SharePoint 2010 provisions a new site, it creates the master page gallery and provisions a master page named default.master, just like Windows SharePoint Services 3.0. However, SharePoint 2010 provisions two additional master pages named v4.master and minimal.master
  • The master page named v4.master is the primary master page that is used to construct the new SharePoint 2010 user interface. v4.master is what gives team sites in SharePoint 2010 a common page layout across all the pages in a site, including familiar elements such as the Site Actions menu, the breadcrumb trail, the ribbon, the Welcome menu, the Site Icon, the TopNav bar, and the QuickLaunch

We are using following PowerShell CMDLET to visually upgrade (UI Version 4) all webs of respective site collection

We will use the UIVersion property of Web to upgrade visually from MOSS to SharePoint 2010

Following is the small PowerShell script with detailed comments 🙂

#Get the site of which webs we need to migrate
$site = Get-SPSite "<My Site Collection of which webs need to be upgraded>"

#get all webs of site collection - this includes all sub webs as well
$webs = $site.AllWebs

foreach($web in $webs){
   #check if respective web is already upgraded to newer version - SharePoint  
   #2010 or not

   if($web.UIVersion -eq 3){
      #upgrade respective web to newer version
      $web.UIVersion = 4
   }#if($web.UIVersion -eq 3)

}#foreach($web in $webs)

Thanks for reading 🙂 If its worth at least reading once, kindly please like and share 🙂 SHARING IS CARING 🙂  

Enjoy the beautiful life 🙂 Have a FUN 🙂 HAVE A SAFE LIFE 🙂 TAKE CARE 🙂  

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: