Tags

1. To list all services, enter this cmd in powershell. Make sure you run as administrator in windows 7.

get-spserviceinstance

Next, locate the GUID for the user profile synchronization service (it’ll probably show a status of ‘provisioning’ in PowerShell) and use the following command:

stop-spserviceinstance [userprofilesynchronizationservice GUID]

It is recommended to use Windows PowerShell to perform bulk administrative tasks. The use of SharePoint 2010 Products cmdlets is available in the SharePoint 2010 Management Shell. Using a management shell eliminates the need to register the snap-in that contains the cmdlets using the Add-PSSnapin cmdlet.

To access the SharePoint 2010 Management Shell:

1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint 2010 Products.
3. Click SharePoint 2010 Management Shell.

Advertisements