[isalist] Re: off topic - service restart batch

  • From: "Gerald G. Young" <g.young@xxxxxxxx>
  • To: <isalist@xxxxxxxxxxxxx>
  • Date: Tue, 17 Oct 2006 07:28:13 -0400

Try 'echo y | net command'.

Cordially yours,
Jerry G. Young II
Applications Engineer, Platform Engineering
Enterprise Hosting
NTT America, an NTT Communications Company

22451 Shaw Rd.
Sterling, VA 20166

Office: 571-434-1319
Fax: 703-333-6749
Email: g.young@xxxxxxxx 

________________________________

From: isalist-bounce@xxxxxxxxxxxxx [mailto:isalist-bounce@xxxxxxxxxxxxx]
On Behalf Of Ara Avvali
Sent: Monday, October 16, 2006 6:03 PM
To: isalist@xxxxxxxxxxxxx; exchangelist@xxxxxxxxxxxxx
Subject: [isalist] off topic - service restart batch

 

Greetings,

 

I am creating a batch so some services are restarted in a certain time.
Adding it to schedule task was not successful. Running it manually I
noticed it stops if there is a dependency service asking me if I want to
restart the dependent service too. Checking on internet and help for net
stop I couldn't find a switch that answers yes to question. Anyone knows
how to force it to answer yes to the question? Thanks 

Other related posts: