Create a SharePoint Default Associated Group

From Secrets of SharePoint -  Tip of the Day

When creating Web site using PowerShell, you may encounter situations where you’re missing the site’s default groups. A simple solution to this is using the CreateDefaultAssociatedGroups method. The example below demonstrates how you can use the method:

PS > $spWeb = Get-SPWeb http://SP01.powershell.nu

PS > $spWeb.CreateDefaultAssociatedGroups(“powershell\spAdmin”,”",”")

PS > $spWeb.Update()

PS > $spWeb.Dispose()

This entry was posted in SharePoint and tagged by Rick Backus. Bookmark the permalink.

About Rick Backus

A technology consultant with over 25 years of IT, consulting and business technology industry experience. Specializing in integrating application, information and content management with business process and network infrastructure. Helping clients get the most out of technology to enable increased productivity, profitability, customer satisfaction and competitive advantage.

Leave a Reply