KACE Product Support Question
How can I use "verify" in a manner similar to "Or"?
09/30/2016 902 views
I'm quite new to KACE, so forgive me if my question seems a bit dull. I'm making a Windows Online Kscript and have run into a snag. This script will be pushed out only to users running MS CRM, so I decided to add a check for that in the beginning of the script. I used a "Verify" checking for a directory of "C:\Program Files\Microsoft Dynamics CRM" which is all good and fine, but I need to ALSO add one that checks for "C:\Program Files (x86)\Microsoft Dynamics CRM". My problem seems that once the script sees there isn't the first directory, it stops the script.
I've thought perhaps tweaking the "On Failure" option to Continue might work, but then I'm afraid the script will either fail after not finding the x86 directory even when the first directory is present, OR that it will continue on and run the script without the presence of CRM which is not the intention at all. Hopefully this is making sense... basically what I want to say via the KACE Script is, "If Directory1 = true OR If Directory2=true THEN execute the rest of my script ELSE stop"
Community Chosen Answer
Please log in to answer
create a smart label for machines having MS crm installed and use that smart label under deploy for the machines to push to in your script.
Answered 10/03/2016 by: SMal.tmcc