Lets do IT Spells
Thursday, February 13, 2014
Enable Powershell Re-moting for SharePoint 2010
Today I am sharing a way to enable power-shell remote for SharePoint 2010.
On the SharePoint server that you want to remote in enter below command:
Continue with Yes..
Increase memory of the remote shell (enter this on sharepoint server)
Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1024
by default its 150 MB only.
Enable-WSManCredSSP –Role Server
(enter this on sharepoint server)
Now go to client machine from which you will launch the shell remotely
Enable-WSManCredSSP -Role client -DelegateComputer *
* means all but you can restrict it as well by entering the Name.
Now you are ready to use the remote shell from client machine
Enter-PSSession -ComputerName "
" -Authentication CredSSP –Credential
This will prompt you for password, enter the password and you are in remote shell.
Sukhija Vikas (TechWizard)
Post a Comment
Post Comments (Atom)