To view the build number for the version of Exchange 2013/2010/2007 that you’re running, run the following command in the Exchange Management Shell.
Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion
To view the build number of Exchange Server 2003/2000, open the Properties dialog box of the server object.
Exchange Server Updates: build numbers and release dates
ATTENTION: Exchange 2007 and forward do not reflect the version number either in the value for AdminDisplayVersion, ExchangeVersion, or at this registry key HKLM\SOFTWARE\Microsoft\v8.0\<Role>\ConfiguredVersion as influenced by roll ups. This is a common misconception.
Please use powershell command:
GCM exsetup |%{$_.Fileversioninfo}