Error when using PSSnapin in PowerShell 3 for SharePoint 2010 to work.

Hello Experts,

In PowerShell I typed the following:
Add-PSSnapin Microsoft.SharePoint.PowerShell

Open in new window

Once I click Enter, I get the following error message:
Add-PSSnapin : The Windows PowerShell snap-in 'Microsoft.SharePoint.PowerShell' is not installed on this computer.

Open in new window

Any ideas on how to fix this so I can use the SharePoint cmdlets?

Thank you.
Modifier1000Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
Are you installing this on the sharepoint server, or on a workstation to work remotely? You need to have the sharepoint tools installed before you can add the powershell snapin. This is why you are getting this error message. You have the proper syntax but it cannot find the PS files.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rainer JeschorCommented:
Hi,
the Powershell snapin for Sharepoint is only available on servers where Sharepoint is installed. To use Powershell from another machine you need to activate Powershell remoting hence connecting to a server session.
http://blogs.msdn.com/b/opal/archive/2010/03/07/sharepoint-2010-with-windows-powershell-remoting-step-by-step.aspx
http://sharepoint.nauplius.net/2013/04/powershell-remoting-to-a-sharepoint-server-with-powershell-v3-installed/

HTH
Rainer
0
Modifier1000Author Commented:
Thank you, this gives me some direction.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.