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