Mani Subramanian - SharePoint And ASP.NET MVC
Monday, 7 February 2011
MOSS: How to restart SQL Server from command line?
net stop yoursqlInstanceName
net start yoursqlInstanceName
In my VM my instance name is MSSQL$OFFICESERVERS
net stop MSSQL$OFFICESERVERS
net start MSSQL$OFFICESERVERS
You can create batch file to execute both the commands together.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment