SharePoint farm administrator have no permissions to run PowerShell commands

On SharePoint 2010 it is not enough if you are farm administrator. You still cannot run PowerShell commands sometimes. The reason is simple – your user account needs more permissions. Here’s how to add permissions.

  1. Open SharePoint 2010 PowerShell console as administrator
  2. Type: Get-SPShellAdmin
  3. Make sure your user account is not in the list of shell administrators
  4. Type: Add-SPShellAdmin –username <your username>
  5. Type: Get-SPShellAdmin
  6. Your newly added username should now exist in the shell admins list

Now you can run your PowerShell scripts from your farm administrator (or any other) user account.

Liked this post? Empower your friends by sharing it!

Gunnar Peipman

Gunnar Peipman is ASP.NET, Azure and SharePoint fan, Estonian Microsoft user group leader, blogger, conference speaker, teacher, and tech maniac. Since 2008 he is Microsoft MVP specialized on ASP.NET.

    Leave a Reply

    Your email address will not be published. Required fields are marked *