I use a powershell script set to run from Task scheduler. Should look
something like this

Invoke-Command -command {restart-service BMC*AC*} -ComputerName <Server
Name>

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 <Server Name>}

Regards,
Rob Flores

On Mon, Jul 25, 2016 at 9:26 AM, Su Kaur <[email protected]> wrote:

> 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"

Reply via email to