Write-Host "Turn on Windows event logging for Lync: $value" And, of course, there's also a way to set the ...
blogs.technet.com