/build/static/layout/Breadcrumb_cap_w.png

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.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: torstenspitz 3 years ago
Yellow Belt
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.


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 3 years ago
    • runkbot 6 0 will do FS - but you only can have one KDeploy process running. - torstenspitz 3 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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