Obtain Citrix HRP version using Powershell when not displayed in Citrix AppCenter

Several of my servers do not show the HRP in the AppCenter Console. As the usual fix using to recreated the LHC did not work and I can’t reboot the servers for some weeks I wrote this Powershell OneLiner to get it directly from the list of installed programs.

Maybe its useful for somebody else.

Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName | Where {$_.DisplayName -like "*Citrix Hotfix Rollup Pack*"} | select-Object -last 1  | foreach {$_.DisplayName}