Monday, March 31, 2014

PowerShell: Check Lync Services and start if not running

Hi Readers,
Just sharing another script that We have recently written for our Lync enviornment and added to startup of Lync edge servers.
but this can be used with any Lync server.
We have used it on our edge servers as we have seen that after restart some times serivces were not coming up automatically.
As a wrokaround we have used this solution, this can also be used to monitor the Lync services & start it , if found not running.
below is the output that it can send you in email..
Just change the below variables:
$smtphost = "smtp server"
$from = ""
$to = ""
and run the batch file..(download the zip file from below link and extract)

Sukhija Vikas

No comments:

Post a Comment