Disabling Social Ribbon Control Feature in Farm level

# Disabling Social Ribbon Control Feature in Farm level

 

 

$SocialRibbonFeatureStatus= Get-SPFeature -Farm | ?{$_.DisplayName -eq "SocialRibbonControl"}

if($SocialRibbonFeatureStatus -ne $null)

{

write-host -f white "Social Ribbon Control Feature is disabling"

Disable-SPFeature -Identity "SocialRibbonControl" -confirm:$false

write-host -f green "Social Ribbon Control Feature is disabled successfully"

}

else

{

write-host -f yellow "Social Ribbon Control Feature is already disabled"

}
 

Ebook Download
View all
Learn
View all