Add SharePoint group to People and Groups Quick Launch

Here is the script to add any SharePoint group to People and Groups Quick Launch using PowerShell script.


$spWeb = Get-SPWeb “<site url>”
$group = $spWeb.SiteGroups[“<group>”]
$spWeb.Properties["vti_associategroups"] = $spWeb.Properties["vti_associategroups"] + “;” + $group.ID
$spWeb.Properties.Update()
$spWeb.Dispose()


Comments

Popular posts from this blog

Switch from Classic to Claims Authentication in SharePoint 2010

How to query list data using web service