To work around this issue, change the
Target field value for SharePoint 2010 Management Shell. To do this, follow these steps:
- Click Start, and then right-click SharePoint 2010 Management Shell.
- Click Properties.
- Click the Shortcut tab in the SharePoint 2010 Management Shell Properties window.
- Input the following value in the Target field:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Version 2.0 -NoExit " & ' C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\\sharepoint.ps1 ' "
- In the SharePoint 2010 Management Shell window run the following command to enable Replicator Management Shell within the SharePoint 2010 Management Shell:
add-pssnapin syntergypssnapin