Help! Farm Admin cannot execute cmdlets in SP 2010 Management Shell
In order to execute farm level cmdlets in SharePoint Management Shell you will need to be given Shell Admin access. Even if you are a farm administrator and you have not been given Shell Admin Access, then you won’t be able to execute farm administrative operation using PowerShell. There are lots of operations that you cannot do via the Central Administration GUI and for which you will require Shell Admin Access.
List who has SP Shell Admin Access
Before you get started with addition, it would be good to check who has Shell Admin access using the following PowerShell cmdlet
get-spshelladmin
Let’s check who is in the farm administrator group for http://server
Even though I am a farm administrator, I could not use SharePoint Management Shell to get a list of users who have SPShellAdmin access.
Give user SP Shell Admin Access
To add a user as Shell Admin, use the following PowerShell cmdlet (logged in as the account that has SPShellAdmin access)
Add-SPShellAdmin -username alpesh
Or simply type Add-SpShellAdmin and press enter. You will be prompted to enter the username! Then type get-spshelladmin to see if you have successfully added the user as SPShellAdmin
Remove SP Shell Admin Access for a user
To remove a user as Shell Admin, use the following PowerShell cmdlet
Remove-SPShellAdmin –username alpesh
Or
Or simply type Remove-SPShellAdmin and press enter. You will be prompted to enter the username!
- I am sure it can be done! :) I am a no code guy ;)...
- Can this be done with code?; For example when the webpart is...
- Fab 40 for MOSS 2010 are now available http://microsofttec...
- i was try to remove site with "Remove-SPSite http://....." ...
- I am unable to do this in Outlook2007 :( .. I have tried eve...
- Hi, I need to ask something that regard the lookup field for...
- how do I download windows live hotmail plus to gain more MB'...
- What I did was to extend the webapplication to port 80 inste...
- I have a question... If i extend the web application to the ...
- in part 11 when i submit the info i get the error "The va...








Mike Zappacosta said,
Wrote on March 2, 2010 @ 6:11 am
Having an issue with giving users SPShellAdmin permission’s and thought this would be a simple task in reading your blog (Help! Farm Admin cannot execute cmdlets in SP 2010 Management Shell).
When I execute, get-spshelladmin, it returns but displays no data. Is that possible if I’m logged in as the account that built the SP2010 installation?
I try running the add-spshelladmin, add a username and get the infamous no permissions error.
Been hunting for resolution now for some time and would greatly appreciate any advice or recommendations you may have to resolve this issue.