Topic Last Modified: 2010-10-01

Returns server licensing information for a computer running Microsoft Lync Server 2010.

Syntax

add-attachmentfilterentry -Name <String> -Type <ContentType | FileName> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter Required Type Description

Get-CsServerVersion does not have any parameters.

Detailed Description

Lync Server 2010 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. Get-CsServerVersion, 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, Get-CsServerVersion will report that the license type and version information could not be retrieved, and recommend that you reinstall the Lync Server components.

Input Types

None. Get-CsServerVersion does not support pipelined input.

Return Types

Get-CsServerVersion returns a string value.

Example

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

Copy Code
Get-CsServerVersion

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