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!
All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF
Leave a reply
You must be logged in to post a comment.