Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

PDQ Inventory Variable

Hi Everyone,

After watching Lex's brilliant Video on Custom Variables, i have set this up in our environment for some of our in house applications and its working great. Unfortunately i have been asked if there is any way for us to automate the change in version number. all of our packages are MSI files, but i can't see where or how Inventory would be able to automatically detect a change to the MSI but wonder if anyone else has tried to automate this with any success?

thanks for any help.

0

Comments

2 comments
Date Votes
  • Hey there, there is a PDQ Inventory CLI command to update a customer variable. (pdqinventoy /? for more information)

    Then from there, I've used the PS Gallery MSI PowerShell to extract data from a MSI for purposes. MSI module

    I'll leave the reset up to your imagination on how to automate updating those variables 😃

    0
  • Thanks for the response Chris, i'm almost there, i just need to stop leaving the Variables window in Inventory open when i test the script.

    0