I could not find a reliable script that could give me the desired result. So I had to resort to the REG QUERY command.

REG QUERY “\\SERVER\HKLM\SOFTWARE\Wow6432Node\McAfee\GroupShield for Exchange\SystemState” /v ProductHotfixes

The result would look like this:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\McAfee\GroupShield for Exchange\SystemState
ProductHotfixes    REG_SZ    478550

– Thanks, Jinesh.

Advertisements