I have a machine, that no matter what I do, I can’t make the Sharepoint PowerShell work. However, I found out a short little command, so that you could use the SP PowerShell commands inside th regular Windows PowerShell.

When you run Windows Powershell, before you do anything, add in this command:

Add-PSSnapin Microsoft.SharePoint.PowerShell

It works like a charm!