I ran into a problem whereby I wanted to force inventory updates on a whole lab of computers at once (about 27 machines), however in the K1000 I could only update them one at a time, causing me to spend a lot of time doing this.
I came up with the following solution:
First I installed the pstools suite from Microsoft, the one I particularly wanted was psexec.
I then wrote the following Python Script to do the inventory updates:
## import necessary modules
## Set locations to runkbot.exe and kdeploy.exe
runkbot = r'"C:\Program Files\Dell\KACE\runkbot.exe"'
## Define function to process the Inventory Update for individual machines and
##deploy any waiting managed installs
## Forces inventory update by creating multiple threads for machines in the 'class' group
This goes off and runs "C:\Program Files\Dell\KACE\runkbot.exe -s 4 0" on all machines listed under "class"
The script is pretty quick and rough, but it does the job.
Let me know what you think, and feel free to give it a go and see if it works for you
Wanganui Park Secondary College