I’m finding more and more that I’m late to the party for some things in SharePoint.
Apparently, SharePoint 2010 isn’t compatible with PowerShell v3.
Basically, when you try to use the SharePoint 2010 Management Shell you’ll be greeted with this:
Once you encounter this lovely error you’ll think you’ve done something horribly wrong. Is something up with your account? Did you break something? Are you losing it?
Nope to all of the above.
To get around this, type: powershell –v 2
Then hit enter. You now have regular ole PowerShell loaded. You’ll have to load the SharePoint snap-in if you want to do anything with SharePoint though. For anyone who may need it, the snap-in is:
You can check out all the details here in this Connect article:
Hopefully this gets fixed in the next CU.