Server Fault is a question and answer site for system and network administrators. 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 installed SharePoint Foundation 2010 on Windows Server 2008 R2. I notice that no SP cmdlets are available in the PowerShell.

What did I miss?

share|improve this question
up vote 2 down vote accepted

It could be that the snapins aren't loaded in your powershell session.

Try this command:

Add-PSSnapin Microsoft.SharePoint.Powershell

share|improve this answer
That worked! I wonder why that is not installed by default... – mmcglynn Jun 6 '11 at 17:59
There's probably a certain console window you have to open that might be somewhere in the programs menu. If you are going to be doing this alot, I'd suggest adding a powershell profile (google profile.ps1) with that command in it. – Chris N Jun 6 '11 at 18:06

It is installed by default, but it is not loaded into your profile by default. You can add it so it always loads by editing one of the default Powershell profiles. From within Powershell, run help profile to find out more about which profile to use.

share|improve this answer

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.