# How can I grant SP Shell Access to a Group

**URL:** <https://forums.powershell.org/t/how-can-i-grant-sp-shell-access-to-a-group/1457>\
**Category:** PowerShell Help\
**Created:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/how-can-i-grant-sp-shell-access-to-a-group/1457 "2011-12-31T18:30:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![archives](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@archives](https://forums.powershell.org/u/archives)\
**Post date:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/how-can-i-grant-sp-shell-access-to-a-group/1457/1 "2011-12-31T18:30:00Z")

</div>

by MSIH at 2012-09-13 11:51:08

> The Add-SPShellAdmin command does not seem to be able to use an AD group. But we want to manage SP Shell access using an AD group. What can we do to use an AD group to manage access to the SP PowerShell?

by DonJ at 2012-09-13 11:59:34

> So, under the hood, the command is adding the user to the SharePoint\_Shell\_Access role in the database. I believe that also adds them to the WSS\_Admin\_WPG on the Web servers. You could possibly try modifying those directly. But, I’m not sure SharePoint actually supports anything but user accounts. Todd or someone will likely jump in and clarify that!

by ToddKlindt at 2012-09-15 07:40:41

> Don has nailed it on what the cmdlet does. It could probably be done manually. SharePoint certainly understands AD groups in other capacities. I would _assume_ if you manually added AD groups to those two spots (SQL role and WPG group on all the servers) it would work. I can’t guarantee it though.   
>   
> If do that, remember you’ll have to make the change on each SharePoint server, including ones added later on.  
>   
> tk

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:58pm UTC](https://forums.powershell.org/t/how-can-i-grant-sp-shell-access-to-a-group/1457/2 "2024-05-16T20:58:26Z")

</div>

Closed on May 16, 2024, 8:58pm UTC


