Force Inventory as last step of Uninstall Script
05/26/2016 1287 views
I have a script that uninstalls my program using WMI command and this works as expected. But I think I need to force a full Inventory on the PC otherwise they still show as needing the script run because the scrip is tied to a smartlabel that looks in the software inventory to see if a piece of software is in the list. Because the software will not show as removed until after another inventory it takes a couple of days for a system to show as having the process complete.
I added a step to my script:
Launch “$(KACE_INSTALL)\runkbot.exe” with params “4 0”
What is the correct params for the process so that it will reinventory the full system and upload the information as part of my script which in turn will clear the system from my smartlabel.
It seems like this would be something that would just be a dropdown to force an inventory as one of the common items that you would do as part of scripting.
Thanks in advance for any suggestions.