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
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 Kaur
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"
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 Kaur wrote:
> Hello All,
>
> Can we automate remedy service restart
4 matches
Mail list logo