The local farm is not accessible. Cmdlets with

FeatureDependencyId are not registered.

run sharepoint management shell with the service

account
 $db = Get-SPDatabase | Where {$_.Name -eq

“SharePoint_ConfigDB”}
 Add-SPShellAdmin “domain\user_to_add” -database

$db

posted on 2012-09-20 16:38  blogsweb  阅读(218)  评论(0)    收藏  举报