This project is read-only.

SharePoint 2010 and Powershell Version Issues

The SharePoint 2010 Snap-in doesn't support Powershell version 3. If you run the scripts and recieve an error message saying, "The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered." when running the scripts the prompt is likely using the wrong version. You can check the Powershell version by running the command $Host.Version.

To run the scripts on Version 2 of Powershell either using the SharePoint Management Shell or create a shortcut to Powershell.exe and add the version argument -version 2.0. If you go with the shortcut route the Target field will have a value something like, "%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -version 2.0"

Last edited Mar 18, 2013 at 2:30 PM by bthubbard, version 1


No comments yet.