In this article, we will discuss how to find the Exchange version build number with PowerShell script.
Why do we need to find the Exchange version
Their are several reasons why you want to get the Exchange version:
- Unexpected problem occurs and finding a solution
- In order to find Exchange CU/SU version
- For Support with Microsoft
- For Support for Outlook on clients
- When upgrading/migrating the Exchange Servers
- Adding new Exchange Servers to the organization
- Connecting third-party applications
PowerShell to Find Exchange version
Run Exchange Management Shell as administrator and use the Get-ExchangeServer cmdlet.
Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion
Also, we can list the Exchange Servers in a table rather than a list by using below cmdlet.
Get-ExchangeServer | Format-Table Name, Edition, AdminDisplayVersion
Find Exchange version with PowerShell including Security Update
Run Exchange Management Shell and copy/paste below cmdlet.
$ExchangeServers = Get-ExchangeServer | Sort-Object NameForEach ($Server in $ExchangeServers) {
Invoke-Command -ComputerName $Server.Name -ScriptBlock { Get-Command Exsetup.exe | ForEach-Object { $_.FileversionInfo } }}
By using above cmdlet you can easily find the Exchange version.
Further you can also check these blog for – Exchange: A version mismatch error occurred while moving mailboxes or Exchange Mailbox (.edb) Recovery Tools