PowerShell to perform Visual upgrade of a SharePoint 2010 Upgraded site in SharePoint 2013

Once a Sharepoint 2010 site is upgraded to 2013, the sites will still be rendered in the 2010 mode.  We have two options to upgrade the sites:

  1. Use the Visual Upgrade option in SharePoint 2013, which would in turn create an entry with the SharePoint timer job and will take a minimum of 10-15 minutes (or more depending on the site's size) to upgrade to the new 2013 look and feel.
  2. Use the Powershell and perform the upgrade.

I always prefer the second option, as it allows you to script the Upgrade and perform the visual upgrade sequentially on many sites (especially if you have a parent site collection with 10 or more sub sites in it).  The below is the powershell that needs to be executed to upgrade the site. (Open the SharePoint Management Shell in Administrator mode before executing the below powershell)

Upgrade-SPSite http://<Your_Web_Site_URL> -VersionUpgrade

How to verify if the sites are upgraded?

In order to verify if the sites are upgraded to 2013 look and feel, execute the below PowerShell which will display the site's compatibility level alongside (will either be 14 or 15) to indicate if the site's are upgraded or not: (Open the SharePoint Management Shell in Administrator mode before executing the below powershell)

get-spsite -Limit All

 

2,484 total views, 1 views today