From time to time it can be useful to get an overview of the Outlook versions in use. Every now and then you will certainly find old Office / Outlook versions that should no longer be in use. For Exchange 2016 / 2019 servers, the Outlook version can be read from the MAPIoverHTTP logs using PowerShell and displayed clearly. The prerequisite is that MAPIoverHTTP is also activated and the clients also use the MAPIoverHTTP protocol to connect to Exchange. MAPIoverHTTP has been supported since Outlook 2010.
Here is an example of what the overview of the client versions looks like:
Unfortunately, Microsoft has always used the version number 16.0 for Office versions since 2016, so it is not possible to determine exactly whether it is Outlook 2016, 2019 or a Click2Run version. However, the build can be used to determine how up-to-date the respective Outlook version is. Here is an overview of the Outlook version numbers:
At least the old Office 2010 installation can be found quite reliably. For the script I used a function from Mike F. Robbins and adapted it a little. In addition, I have added 3 more functions so that the logs of several Exchange servers can also be searched, making it a little easier to use.
Wie oben in dem Screenshot zu sehen ist, muss nur die Funktion „Report-OutlookVersions“ ausgeführt werden. Die Funktion steht zur Verfügung, nachdem das PowerShell Script ausgeführt wurde, welches hier zum Download bereit steht (Die Ausführung der .PS1 Datei liefert keine Rückmeldung, sondern fügt nur die Funktion „Report-OutlookVersions“ zur Exchange Management Shell hinzu):
Die Funktion „Report-OutlookVersions“ muss in der Exchange Management Shell ausgeführt werden. Wenn es mehrere Exchange Server in der Organisation gibt, müssen die Admin Shares via Shortname erreichbar sein, damit die Logs durchsucht werden können. In der Standardeinstellung werden die letzten 7 Tage der MAPI Logs ausgewertet. Der Zeitraum lässt sich in der Zeile 108 anpassen. Getestet wurde die Funktion mit Exchange 2019 und Exchange 2016.
This function is also available again as a module in the Exchange Reporter are available.