X

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!
Categories: SharePoint
Related Post