Tuesday, April 14, 2015

Disable Pink color ribbon when the site to be upgraded in 2013 farm if the site collection is in 2010

$webAppUrl = "https://portal.sites.com";

Get-SPSite -Limit All -CompatibilityLevel 14 -WebApplication $webAppUrl | % { $_.AllowSelfServiceUpgrade = $true; $_.AllowSelfServiceUpgradeEvaluation = $false; }



 To disable the pink color ribbon, below is the code as follows:

Get-SPWebApplication $webAppUrl | % { $_.UpgradeReminderDelay = 70; $_.Update() }
LGet-SPSite -Limit All -Compatibilityevel 14 -WebApplication $webAppUrl | % { $_.ExtendUpgradeReminderDate() }

After executing  the above code, the pink color ribbon is seen no more: