[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

powershell to add AD groups as Site collection administrators

Posted on 2012-04-08
4
Medium Priority
?
1,902 Views
Last Modified: 2012-05-10
Hi,

I have thousands of site collections and i need to add two AD security groups as Site Collection Administrators. Please help me with powershell command to perform the same.


Cheers
0
Comment
Question by:Yagya Shree
  • 2
4 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37821433
0
 
LVL 13

Author Comment

by:Yagya Shree
ID: 37822318
Both links are to add user accounts and not the AD groups. Hence i will request to provide a script for adding AD groups. Has anyone ever done this?
0
 
LVL 38

Accepted Solution

by:
Justin Smith earned 1000 total points
ID: 37823078
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question