I want to perform read/write operations on SharePoint 2010/2013 using PowerShell commands remotely. Commands will be New-SP<> , Remove-SP<> and Get-SP<> i.e. all read/write operations on SharePoint users/groups.
What is/are minimum permission(s) required for any user other than Administrator of remote machine ( where SharePoint is residing ) to perform all read/write operations ?
Please provide steps to assign such permissions if possible.
Set-PSSessionConfiguration is not helping i.e. Adding any user in Remote Management Users group is not allowing to fire get-spuser command.
I am getting following error
Get-SPUser : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) + CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletGetUser:SPCmdletGetUser) [Get-SPUser], Unauthori zedAccessException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetUser