I'm having problems with PowerShell. First, the PS configuration installed by SharePoint 2010 continues to call this message:
Local farm is not available. Cmdlets with FeatureDependencyId have not been registered.
I searched for this and gave everyone and their cousin Sharepoint_Shell_Access to the configuration database, with no luck. So, I wanted to try some PS commands. In this case, however, I get another error:
Microsoft SharePoint is not supported by version 4.0.30319.17929 in the Microsoft.Net Runtime environment.
I get that SP cannot use .NET 4.0 or 4.5, but I cannot find any suggestions on how to get PS to use the "correct" version of .NET. I found some links to something called PowerGUI and changed psgui.exe.config, but I don't have it.
Does anyone have any suggestions to solve the problem with the version of .NET?
powershell sharepoint config
EoRaptor013
source share