Just like Exchange we are able to check our Lync schema version with adsiedit.msc.
Connect to the Schema context:
Expand the nodes and drill down to the name ms-RTC-SIP-SchemaVersion.
Right click on ms-RTC-SIP-SchemaVersion and select Properties.
Now find the attribute rangeUpper
The possible rangeUpper values are listed in this table (so this example is taken from a Lync 2010 installation):
Version | rangeUpper value |
Live Communications Server 2005 | 1006 |
Office Communications Server 2007 R1 | 1007 |
Office Communications Server 2007 R1 | 1008 |
Lync Server 2010 | 1100 |
Lync Server 2013 | 1150 |