Collecting Exchange Build number (long format)
-
Hi,
is it possible to collect the Exchange version including build number of security patch?
Based on the following link, the full version number can be queried with "Get-Command Exsetup.exe | ForEach {$_.FileVersionInfo}" in the PS console
https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019#exchange-server-2013PS: The following data collection shows only the CU version, without security patch level:
table = AgentReadTable($node, "System.InstalledProducts");
colNameIndex = table->getColumnIndex("NAME");
colVersionIndex = table->getColumnIndex("VERSION");BR,
Bernhard -
Hi,
you can create external parameter that will execute this command and return security patch number, something like
ExternalParameterShellExec = ExchangePatchNumber:pwsh -Command "& { Get-Command Exsetup.exe | ForEach {$_.FileVersionInfo} }"in nxagentd.conf (not sure about exact PowerShell syntax, but you should get an idea). Agent will provide new metric ExchangePatchNumber that should return output of given command as value.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login