Categories
How-To Technical

Tech Short: Stop and Start Lync Services On A Server

How can I take on this task, let me count the ways…

After installing a new certificate on our Lync server I needed to restart the services to complete the change.  I was able to do this with two powershell commands.

Stop Services

Get-CsWindowsService | Where-Object {$_.Status -eq "Running"} | Stop-CsWindowsService

Start Services

Get-CsWindowsService | Where-Object {$_.Status -ne "Running"} | Start-CsWindowsService

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.