Tuesday, April 21, 2009

Restarting sharepoint services using script

Scenario:
I wanted to restart the Timer service using command line script

Code:

net stop "Windows SharePoint Services Timer"
net start "Windows SharePoint Services Timer"
Notes:
Other share point services can also be restarted like this.

Code:
net stop "Windows SharePoint Services Administration"
net stop "Office SharePoint Server Search"
net stop "Windows SharePoint Services Search"
net stop "Windows SharePoint Services Tracing"

0 comments: