Add-SPShellAdmin / Remove-SPShellAdmin

In SharePoint 2013 by rhodzyLeave a Comment

Adding a user to have permissions to run PowerShell Scripts against a SharePoint database 

Add-SPShellAdmin domain\user –database DB GUID 

Simple to remove as well you just need to run:

Remove-SPShellAdmin domain\user -database DB GUID

Finding database GUID

Get-SPDatabase