I am getting an error when I run below command from sharepoint 2010 managment shell using admin rights.
Add-PSSnapin Microsoft.Sharepoint.Powershell
Add-PSSnapin : Cannot add Windows PowerShell snap-in Microsoft.Sharepoint.Power
shell because it is already added. Verify the name of the snap-in and try again