Understanding K1000 Scripting Tasks
Hi Guys,
I am fairly new to the K1000 and just have a few simple questions I hope you can help with.
Essentially what I want to do is ensure that the a scripted install of UltraVNC is not deployed again to the same machine if the software has been installed already. Is there any easy way to do this?
I see there is a task under the Verify section to 'Test if a Directory exists' however am I to understand that if the outcome of this task is successful ie: if the directory does exist then the script will move to the On Success part of the task and keep executing.
Thanks
Answers (3)
Set you verify for file, directory, or reg key exists. If it does not exists then the remediation is where it will run your installer. The next time the script runs it will see that your verify now exists, and there will be no need to run remediation.
I usually use the "on success" to log a message.
K1000 KKE's: https://support.software.dell.com/k1000-systems-management-appliance/kb?k=KKE
Comments:
-
All current recordings are accessible at www.kace.com/support/training/kke/archive.
The recording link listed here is no longer available. A newer version of this session may be available at the archive above.
Ron Colson
KACE Koach - ronco 10 years ago
What dugullett posted is great information for general scripting and you will want to use that in the future.
In this case, there is also a built-in wizard for UVNC and it will add the verify step for you. That said, it needs to be updated: http://www.itninja.com/blog/view/kace-scripting-uvnc-version-1-0-9-6-2-and-newer