Saturday, April 2, 2011

Re-enable Visual Upgrade in SharePoint 2010

Upgrading a client to 2010 Enterprise this weekend and ran into an issue where Visual Upgrade was hidden by an admin acidentally. We needed to restore................................Here is the Powershell to iterate through each site and re-enable. It cannot be reenabled through the GUI.

$SiteCollection=Get-SPsite http://sitecollection/

foreach($SPWeb in $SiteCollection.AllWebs) {$SPWeb.UIversionConfigurationEnabled=$true;$SPWeb.update();}