Check Multiple And A Single Exchange Server 2010 Servers Build Number

To check multiple Exchange Server 2010 Servers build number In a single cmdlet block use the code below:

To check a local Server version run the line below from Exchange EMS:

GCM Exsetup.exe | % {$_.FileVersionInfo}

to run It against all the server In the environment copy the code below to ISE and run:

Add-PSSnapin *exc*

$ExchangeServers = Get-ExchangeServer | Sort-Object Name
ForEach ($Server in $ExchangeServers) 

Invoke-Command -ComputerName $Server.Name -ScriptBlock {Get-Command Exsetup.exe | ForEach-Object {$_.FileversionInfo}}


Categorized as KB