Skype for Business Server 2015 Component Version using PowerShell

There are two methods to get the Skype for Business Server component version: using Windows Registry or the WMI Classes. Both methods were previously published for Lync Server 2010 and Lync Server 2013:

Lync Server Component Version using PowerShell (Windows Registry)
https://uclobby.wordpress.com/2014/12/15/lync-server-component-version-using-powershell-windows-registry/

Lync Server Component Version using PowerShell (WMI Classes)
https://uclobby.wordpress.com/2013/08/14/lync-server-component-version/

The preferred method is using the Windows Registry method, since it is faster than the WMI method.

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | ?{$_.DisplayName -like “*Skype for Business*”} | Sort-Object DisplayName | Select DisplayName, DisplayVersion, InstallDate | Format-Table -AutoSize

Using search filter *Skype for Business* will also get the Skype for Business Online PowerShell Module version, which is installed by default when you install Skype for Business Server 2015 components.

If for some reason you need to use the WMI method, run this:

Get-WmiObject -query ‘select name, version from win32_product’ | where {$_.name -like “*Skype for Business*”} | Sort-Object Name | Select Name, Version | ft -AutoSize

If you experience any issue with the PowerShell window length, run the following in PowerShell:

$pshost = get-host
$pswindow = $pshost.ui.rawui
$newsize = $pswindow.buffersize
$newsize.height = 3000
$newsize.width = 100
$pswindow.buffersize = $newsize
$newsize = $pswindow.windowsize
$newsize.height = 50
$newsize.width = 100
$pswindow.windowsize = $newsize

Please check on PowerShell window/buffer resizing in the following article:

How Can I Expand the Width of the Windows PowerShell Console?
http://blogs.technet.com/b/heyscriptingguy/archive/2006/12/04/how-can-i-expand-the-width-of-the-windows-powershell-console.aspx

4 thoughts on “Skype for Business Server 2015 Component Version using PowerShell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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