The local farm is not
accessible. Cmdlets with FeatureDependencyId are not registered
Problem occurs when you
start SharePoint 2010 Management Shell (Power shell) but don’t get access to
the farm. You would be unable to run commands.
Solution 1:Run Power shell with
another user who don’t see above message e.g. Farm Admin
Solution 2:
1.
Execute “Add-SPShellAdmin -Username domain\User”(required
user that you want to get Access to Power shell)
2.
Successful execution will ensure that desired user is Shell
Admin and can execute commands.
Solution 3:
As you
can see it is Power Shell Version 3.0 which doesn’t support SharePoint 2010
to
resolve the issue, change Power Shell start menu short cut path and added
–version 2.0 switch parameter, below is the complete path with –version 2.0
switch.
Add –version 2.0 switch;
By doing this could run Power Shell 2.0 which support SharePoint 2010 commands