Force Inventory as last step of Uninstall Script
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.
1 Comment
[ + ] Show comment
-
I hope someone responds with something that works because I have never been able to make that happen. - rockhead44 8 years ago
Answers (1)
Please log in to answer
Posted by:
rockhead44
8 years ago