cancel
Showing results for 
Search instead for 
Did you mean: 

Insights

Powershell script to restart services daily between 0645 and 0800.

#****************************************************************
#
#    DailyRestartEVServices.ps1
#
#    jprknight    08.09.2010    Initial Draft
#
#    Powershell script to restart all EV services on all EV
#    servers on a daily basis.
#
#    Symantec best practice is to restart EV services on a
#    regular basis to avoid MAPI timeout errors.
#
#****************************************************************
#
#    It may be neccessary to run the below so scripts can be run
#    which we have produced.
#
#    Get-ExecutionPolicy
#    Set-ExecutionPolicy RemoteSigned

Rename as .ps1 and go.
 

Comments

An updated version which more to successfully stop and restart services.