Today I had to create a powershell script that make some changes to SharePoint as part of the post-build command line in Visual Studio. Long story short, I kept getting issues where the PowerShell shell I was invoking was unable to load the SharePoint powershell snap-in.
↧