Re: Automate service restart
I use a powershell script set to run from Task scheduler. Should look something like this Invoke-Command -command {restart-service BMC*AC*} -ComputerName I have also used the following to determine how long it takes the server to restart. Write output to a text file. Measure-Command -Expression {Invoke-Command -command {restart-service BMC*AC*} -ComputerName } Regards, Rob Flores On Mon, Jul 25, 2016 at 9:26 AM, Su Kaurwrote: > Can you please send sample batch file? > > Thanks! > Kaur > > > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"
Re: Automate service restart
I do not have the file on hand but you can google it and find what you are looking for https://www.youtube.com/watch?v=5hAwkMaCGwE above is an example of how to do a simple script, then just modify it to what you want. Kevin On Mon, Jul 25, 2016 at 9:26 AM, Su Kaurwrote: > Can you please send sample batch file? > > Thanks! > Kaur > > > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > -- Kevin Begosh ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"
Re: Automate service restart
Can you please send sample batch file? Thanks! Kaur ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"
Re: Automate service restart
you can write a batch file to restart the services and then have say a windows task scheduler run it if you are on windows server. I have done that before. Kevin On Mon, Jul 25, 2016 at 8:22 AM, Su Kaurwrote: > Hello All, > > Can we automate remedy service restart including email engine? > > Thanks! > Kaur > > > ___ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > "Where the Answers Are, and have been for 20 years" > -- Kevin Begosh ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"