Topic Last Modified: 2014-02-07

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

Syntax

Get-CsServerVersion

Examples

EXAMPLE 1

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.

Copy Code
Get-CsServerVersion

Detailed Description

Lync 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 Lync 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 Lync 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 Lync 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.

Parameters

Parameter Required Type Description

Input Types

None. The Get-CsServerVersion cmdlet does not support pipelined input.

Return Types

The Get-CsServerVersion cmdlet returns a string value.