Thursday, July 7, 2011

Visual Upgrade in SharePoint 2010

There so many ways to Visual Upgrade Migrated SharePoint Site.
One of this is run power shell script from SharePoint 2010 Management Shell.

All Site Collection Upgrade under Single Web Application as below command
    $webapp = Get-SPWebApplication http://UIVersion3WebApps/
    foreach ($s in $webapp.sites)
    {$s.VisualUpgradeWebs() }


Site Collection Upgrade including All Sub Webs as below command
    $site = Get-SPSite http://UIVersion3SiteCollection/
    foreach ($web in $site.AllWebs){$web.UIVersion = 4;$web.Update();}

Only Site Collection Web Upgrade without All Sub Webs as below command
    $site = Get-SPSite http://UIVersion3SiteCollection/
    $site.VisualUpgradeWebs()

Only Single Web Upgrade as below command
    $web = Get-SPWeb http://UIVersion3SiteCollection/site
    $web.UIVersion = 4;
    $web.Update();


Happy Upgrading !!!

Friday, July 1, 2011

MOSS 3.0 to SharePoint 2010 Migration

MOSS 3.0 to SharePoint 2010 Migration

  1. Take a Content Database backup from MOSS 3.0 DB Server.
  2. Restore it in SharePoint 2010 DB Server.
  3. Add Restored Database in SP 2010 existing Web Application.
  4. Remove older Content Database (which created with web application creation time)
  5. Move all related files from MOSS 3.0 to SP 2010 farm. Ex. – Customization (Features, User Controls, Web Parts, Custom Application Pages, and Timer Jobs etc.), Third Party controls etc.
  6. Run PreUpgradeCheck Power Shell script from SharePoint 2010 Management Shell (I will we back with new post)
  7. After successfully run this command browse you site it should be working with UI Version 3.0.
  8. For SharePoint 2010 look & feel you have to change UI Version 4.0 (Visual Upgrade see my new post).

Happy Migration !!!