error when opening SharePoint 2019 Management Shell

Copper Contributor

on a farm not installed by me, I go to one of the two Web or App servers and try to open the Management Shell and get an error.  Any ideas how to fix?

Exception calling "GetEndOfSupportMessage" with "3" argument(s): "Login failed for user 'blah\blah'."
At C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\16\CONFIG\POWERSHELL\Registration\SharePoint.ps1:12 char:1
+ $adminWebApp.GetEndOfSupportMessage($false, [ref]$endOfSupportSeverit ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SqlException

0 Replies