SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to take a BackUp of a Site Collection from a remote computer, but I am getting a error that i am not sure of the script is

Invoke-Command -ComputerName remotecomputername -ScriptBlock {Backup-SPSite -Identity "http://remotecomputername:8080" -Path "C:\Users\username\Documents\SiteBackUp\BackUp8080"} -credential username

the error is get is :

The term 'Backup-SPSite' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the sp elling of the name, or if a path was included, verify that the path is correct and try again. + CategoryInfo : ObjectNotFound: (Backup-SPSite:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

Regards, Vikram

share|improve this question

You are running the command from powershell:

share|improve this answer
The script block doesn't include the pssnapin so this is likely the issue. – shufler Mar 26 '13 at 16:11

Are you using Windows PowerShell or SharePoint Management Shell? This is however an old question and here you may find something useful: End user site backup

share|improve this answer
I am using SharePoint Management Shell... – Vikram Mar 29 '13 at 2:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.