Deployments – Condition Checks

BatchPatch Forums Home Forums BatchPatch Support Forum Deployments – Condition Checks

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by doug.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12153
    cfsfirey
    Participant

    Hi,

    Just wondering if BatchPatch has considered adding condition checks or am I missing something.

    For example we use Lansweeper for Software Deployments, I fall back to BatchPatch if I need something quickly or a once off etc.

    But one thing Lansweeper has is a condition check. Eg check for file, if exist to this else do that. Same for registry keys.

    Is this something considered or would be useful for others?

    #12154
    doug
    Moderator

    Thanks. Yes we are considering this. For the time being you can do something like this but it requires a bit of scripting. You can terminate a job queue (or not terminate it) based on the return value of a script that you integrate. The script can check for the existence of whatever you want to check for, and then return a value accordingly.

    Here is an example:
    https://batchpatch.com/batchpatch-custom-script-integration-install-windows-updates-only-after-stopping-a-specified-service

    Here is a more complex example that involves contingent operations with multiple computers instead of all on a single target like in the example above:
    https://batchpatch.com/advanced-multi-row-queue-sequence-contingent-operations-with-custom-scripts

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.