You can easily get the Exchange version for all Exchange servers in your domain with this one-liner. Run it from an Exchange Management Shell.
Get-ExchangeServer | Select Name,AdminDisplayVersion,Edition,ServerRole
The following information is displayed: