Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Note: This article has done its job, and will be retiring soon. To prevent "Page not found" woes, we're removing links we know about. If you've created links to this page, please remove them, and together we'll keep the web connected.

Microsoft SharePoint Foundation 2010

Question/Issue

Answer/Workaround

Administration:

When trying run powershell cmdlets remotely, they fail for an unknown reason.

SharePoint cmdlets, when run remotely, have two unique requirements:

  • CredSSP is required. On any remote command you must provide credentials (via the -Credential Parameter)

You must set the -Authentication parameter value to be CredSSP.  This is so that powershell cmdlets have the proper credentials required to communicate with SQLAdditional memory beyond the default limit for remote powershell is often required for large operations. The default can be changed using the Set-Item cmdlet--here is the command to set the limit value to 1000MB: Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×