Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

How-To Retrieve ThinPro 7 Servicepack Version in HPDM

How-To retrieve ThinPro 7.2 Servicepack Version in HPDM using Dynamic Properties.

By default, HPDM does not list the Servicepack version of the ThinPro 7.2 Clients, but using a small script this info can be returned to HPDM using the Dynamic Properties.

Use the following code to make a template in HPDM, or download the pre-made template included below to run this task against one or more ThinPro 7.2 Clients.

It wil return the Service Pack version in a Dynamic Property for each client. which can then be used to report or create further actions within HP Device Manager.

#!bin/bash
getSPversion=`dpkg-query -f'${Package}\t${Version}\n' -W | grep thinpro7.1-sp | awk '{print $2}'`

if [ -z “$getSPversion”
then
echo value=’None’
else
echo value=$getSPversion
fi

Template Download: TP7 Get Service Pack Version

Was this post helpful?

How-To Retrieve ThinPro 7 Servicepack Version in HPDM