Created
March 28, 2013 02:11
-
-
Save ElliotWood/5259949 to your computer and use it in GitHub Desktop.
Simple script to restart SharePoint 2010 Services
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@echo Stopping SharePoint 2010 services... | |
iisreset /stop /noforce | |
net stop "SharePoint 2010 User Code Host" | |
net stop "SharePoint 2010 Timer" | |
net stop "SharePoint 2010 Administration" | |
net stop "SharePoint Server Search 14" | |
net stop "SharePoint Foundation Search V4" | |
net stop "SharePoint 2010 Tracing" | |
@pause | |
@echo Starting SharePoint 2010 services... | |
net start "SharePoint 2010 Tracing" | |
net start "SharePoint Foundation Search V4" | |
net start "SharePoint Server Search 14" | |
net start "SharePoint 2010 Administration" | |
net start "SharePoint 2010 Timer" | |
net start "SharePoint 2010 User Code Host" | |
iisreset /start | |
@pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment