Command to start a File sync like you do for scripts
I have used the command "RunKBot.exe 4 0" for years to force an inventory. I have also used this line but changed out the 4 with the script number (e.g. runkbot.exe 544 0).
Is there any way to do the same thing for the "File Synchronizations"?
I would like to have the file sync run as a task in a script and then run the powershell script for the install.
This comes as we are looking to support larger installs without having staff be on the VPN.
Answers (1)
FileSynchronisation is done after Inventory.
To achieve what you want to do just add the file for synchronisation to the script that runs the powershell in KACE.
It will be available at $(KACE_DEPENDENCY_DIR)
Then you can run the script with its id with runkbot.
Comments:
-
The problem is that I have installs that have 6+ GB zip file. That is just too large for the dependencies to work.
Now if I could just use the SMB share to upload the larger files and attach them to a script like you do for software. That would take out this extra step. - DLCurtis 4 years ago-
runkbot 6 0 will do FS - but you only can have one KDeploy process running. - torstenspitz 4 years ago