Yes, I have Powershell but I've never used it. I'll give it a go. Thanks to all.
Laurie ________________________________ From: Stephen Russell <[email protected]> To: ProFox Email List <[email protected]> Sent: Tuesday, 25 February 2014, 17:51 Subject: Re: Restart MSSQL Service On Tue, Feb 25, 2014 at 11:19 AM, Laurie Alvey <[email protected]>wrote: > Anyone know how programatically start/stop/restart the MSSQLServer > service? (I can obviously do it via Control Panel but I want to be able to > do it without going through Administrative Tools -> Services.) > > I'm on XP Pro SP3 > TIA > Laurie > --------------- Is Powershell on XP? Stop-Service -displayname "SQL Server (MSSQLSERVER)" Start-Service -displayname "SQL Server (MSSQLSERVER)" -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/cajidmylnwhwtnqxyrk6ghd+a29afvpzizxx97zhpuvkaz_i...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

