Microsoft Lync Server Version Detection

Summary
Detection of installed version of Microsoft Lync Server. The script logs in via smb, searches for Microsoft Lync Server in the registry and gets the version from 'DisplayVersion' string in registry
Detection
registry version check