/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Command to start a File sync like you do for scripts

09/23/2020 984 views

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.

0 Comments   [ + ] Show comments

Comments


All Answers

0

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)

BxLkpCrc3tqvAAAAAElFTkSuQmCC


Then you can run the script with its id with runkbot.

Answered 09/25/2020 by: torstenspitz
Yellow Belt

  • 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.
    • runkbot 6 0 will do FS - but you only can have one KDeploy process running.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ