Skip to content

Instantly share code, notes, and snippets.

@tomarbuthnot
Last active August 29, 2015 14:05
Show Gist options
  • Save tomarbuthnot/0f20304fe25783df77e9 to your computer and use it in GitHub Desktop.
Save tomarbuthnot/0f20304fe25783df77e9 to your computer and use it in GitHub Desktop.
Get Lync Server Component Version Information
Get-ChildItem "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall" | ForEach-Object {Get-ItemProperty $_.pspath} | Where-Object {($_.DisplayName -imatch "Microsoft Lync Server") -or ($_.DisplayName -imatch "Microsoft Office Web Apps Server 2013") -or ($_.DisplayName -imatch "Unified Communications")} | Sort-Object DisplayVersion -Descending | Select-Object DisplayName,DisplayVersion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment