• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 52
  • Last Modified:

How to create SharePoint Groups

Dear Experts,

How can I create multiple SharePoint Groups with different permissions by using PowerShell Script in SharePoint 2013. Please advice

Thanks
0
tabreed
Asked:
tabreed
  • 2
  • 2
1 Solution
 
Jamie McAllister MVPSharePoint ConsultantCommented:
There's an example here creating three groups with different permissions;

http://www.pointbeyond.com/2011/06/03/powershell-to-create-sharepoint-groups
0
 
tabreedAuthor Commented:
Please provide me the exact syntax for to crate multiple SharePoint group
I couldn’t able to understand from the URL
0
 
Jamie McAllister MVPSharePoint ConsultantCommented:
This is specifically whats you're after;

# Owner Group
$web.SiteGroups.Add(“$web Owners”, $web.Site.Owner, $web.Site.Owner, “Use this group to grant people full control permissions to the $web site”)
$ownerGroup = $web.SiteGroups["$web Owners"]
$ownerGroup.AllowMembersEditMembership = $true
$ownerGroup.Update()

Open in new window

0
 
tabreedAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now