You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 6 Current »
Open a Windows PowerShell session as administrator.
Configure the station to receive remote commands:
Enable-PSRemoting –Force
Enable Credential Security Service Provider (CREDSSP) authentication on the local server:
Enable-WSManCredSSP –Role Server
Increase the maximum number of PS shells per user to 25:
winrm set winrm/config/winrs '@{MaxShellsPerUser="25"}'
Increase the max memory per shell to 600MB:
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="600"}'
Return all users who have the SharePoint_Shell_Access role:
Get-SPShellAdmin
Replace Domain\Username with the desired user and ContentDatabaseName with the desired content database.
Enter Add-SPShellAdmin -UserName Domain\Username -Database (Get-SPContentDatabase -Identity “ContentDatabaseName”)
Get-SPDatabase | Add-SPShellAdmin DOMAIN\UserName
Return all users who have the SharePoint_Shell_Access role and confirm the desired user is now listed:
Open the permissions dialog box and enter:
Set-PSSessionConfiguration -Name Microsoft.PowerShell32 –ShowSecurityDescriptorUI
Add the desired user(s) and ensure they have Read and Execute permissions.
Click OK to save the changes.
Once the server requirements have been met, please review the Client Requirements.