SharePoint Server 2013 works well after the installation on Windows Server 2012, however, I cannot start up "SharePoint 2013 Management Shell"
Below is the error message. Any idea?
Add-PsSnapin : Cannot load Windows PowerShell Snap-InMicrosoft.SharePoint.PowerShell because of the following error: Unable to cast object of type 'Microsoft.SharePoint.PowerShell.SPCmdletSnapIn' to type
'System.Management.Automation.CustomPSSnapIn'.
At C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\CONFIG\POWERSHELL\Registration\SharePoint.ps1:3 char:1
+ Add-PsSnapin Microsoft.SharePoint.PowerShell
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.SharePoint.PowerShell:St
ring) [Add-PSSnapin], PSSnapInException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad
dPSSnapinCommand
Eric Fang