Get-CsServerVersion

Returns server licensing information for a computer running Skype for Business Server. This cmdlet was introduced in Lync Server 2010.

Syntax

Get-CsServerVersion []

Description

Skype for Business Server comes in two different versions: an evaluation version (which will eventually expire) and a fully-licensed version. The Get-CsServerVersion cmdlet provides a way for administrators to determine which version of Skype for Business Server is running on a computer. The Get-CsServerVersion cmdlet, which is designed to run only on the local computer and which has no additional parameters, attempts to read the registry value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Real-Time Communications{A593FD00-64F1-4288-A6F4-E699ED9DCA35}\Type. Based on that registry value, the cmdlet will then report back the version number of the software and the Skype for Business Server licensing information. That licensing information will tell you one of the following:

That the evaluation license key has been installed.

That the volume license key has been installed.

That no license key is required for the components installed on the local computer. (Licensing is required only for computers functioning as a Front End Server, a Director, or an Edge Server.)

If an error occurs, the Get-CsServerVersion cmdlet will report that the license type and version information could not be retrieved, and recommend that you reinstall the Skype for Business Server components.

Note that Get-CsServerVersion returns only the base version number. For example, Get-CsServerVersion will return a value such as 5.0.8308 even if an update has officially changed the version number to 5.0.8308.291. If you need a very specific version number then you should use the Windows Control Panel.

Examples

-------------------------- Example 1 --------------------------

Get-CsServerVersion

The command shown in Example 1 returns licensing information for the local computer. This is the only way that the Get-CsServerVersion cmdlet can be used.

Inputs

None

Outputs

String