cancel
Showing results for 
Search instead for 
Did you mean: 
jprknight-oldax
Level 6

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
jprknight-oldax
Level 6

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

Version history
Last update:
‎09-08-2010 04:47 AM
Updated by: