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!
- Thanks, that is quite useful!...
- Hi Guys, Any one know how to push this out to multiple ma...
- Cheers mate. tried a bunch of stuff and this worked a treat ...
- .. ] is another nice source of information on this topic..]...
- I found easier way to do so. Tools-> Options-> Mail F...
- Yeah I was wondering how to sign up for the Windows Live Hot...
- Hello, I already have the image embedded into the html si...
- make sure you do all line breaks with shift + enter and b...
- after creating a sig with the logo you want, you can open MS...
- What if there is not signature folder, I'm doing this remote...


