SharePoint 2010服务的关闭启动脚本
今天测试SQL Server的RBS功能,需要不断的重启SharePoint,所以将SharePoint服务的关闭和启动写成脚本,以便测试。
==================== net stop SPWriterV4 net stop SPUserCodeV4 net stop SPSearch4 net stop OSearch14 net stop SPAdminV4 net stop SPTraceV4 net stop SPTimerV4 net stop w3svc net stop mssql$sharepoint ==================== net start mssql$sharepoint net start w3svc net start SPTimerV4 net start SPTraceV4 net start SPAdminV4 net start OSearch14 net start SPSearch4 net start SPUserCodeV4 net start SPWriterV4