Command Line Options - App-Auto-Patch/App-Auto-Patch GitHub Wiki

Command Line Options

This page contains a list of all available command line options. More specific details on these can be found on the various pages throughout the wiki

--days-until-reset=

  • The number of days until patching completion status is changed to False
  • Data Type: Integer

Command option example:
--days-until-reset=7

Command option disable example:
--days-until-reset=X

--deadline-count-focus=

  • Number of deferrals allowed for incidents such as Active Display Assertions, Focus/DND mode. This type of deferral will be done silently and no prompts will be displayed for the user. Deferral time set by DeferralTimerFocus
  • Data Type: Integer

Command option example:
--deadline-count-focus=3

Command option disable example:
--deadline-count-focus=X

--deadline-count-hard=

  • Number of deferrals allowed by the end-user
  • Data Type: Integer

Command option example:
--deadline-count-focus=3

Command option disable example:
--deadline-count-focus=X

  • Example: 3

--deferral-timer-default=

  • The number of minutes to defer until the next update workflow attempt if a user chooses not to install updates
  • Data Type: Integer

Command option example:
--deferral-timer-default=1440

Command option disable example:
--deferral-timer-default=X

--deferral-timer-error=

  • Amount of time in Minutes that AAP will defer if any errors are detected throughout the process
  • Data Type: Integer

Command option example:
--deferral-timer-error=60

Command option disable example:
--deferral-timer-error=X

--deferral-timer-focus=

  • Amount of time in Minutes that AAP will defer for Focus/DND/Display Assertions. Requires the use of DeadlineCountFocus. If no DeferralTimerFocus is set it will default to DeferralTimerDefault
  • Data Type: Integer

Command option example:
--deferral-timer-focus=60

Command option disable example:
--deferral-timer-focuss=X

--deferral-timer-menu=

  • Allows you to provide multiple deferral time options instead of the default of one day (minutes,minutes,etc...)
  • Data Type: String

Command option example:
--deferral-timer-menu=30,60,480,720,1440

Command option disable example:
--deferral-timer-menu=X

--deferral-timer-workflow-relaunch=

  • Amount of time in minutes until AAP is relaunched after a workflow
  • Data Type: Integer

Command option example:
--deferral-timer-workflow-relaunchs=1440

Command option disable example:
--deferral-timer-workflow-relaunch=X

--ignored-labels="label1 label2"

  • A space-separated list of Installomator labels to ignore for the AAP workflow. Supports wilddcards
  • Data Type: String

Command option example:
--ignored-labels="microsoft* googlechrome*"

--interactiveMode=

  • Data Type: Integer
  • Options: 0 (Completely Silent) | 1 (Silent Discovery, Interactive Patching) | 2 (Full Interactive) (default)

--optional-labels="label1 label2"

  • A space-separated list of optional Installomator labels. Labels in this category are only included if the app exists on the end-users device and will force install even if its the latest version. Does Not Support Wildcards
  • Data Type: String

Command option example:
--optional-labels="iterm2 googlechromepkg"

--patch-week-start-day=

  • The day of week to set the start date for a recurring patching cadence
  • Data Type: Integer
  • Options: 1 through 7 (1=Mon 2=Tue...7=Sun)

Command option example:
--patch-week-start-day=2

Command option disable example:
--patch-week-start-day=X

--required-labels=

  • a space-separated list of Installomator labels that are required, regardless if the app is installed or or the latest version. Supports wildcards.
  • Data Type: String

Command option example:
--required-labels="desktoppr dockutil nudgesuite"

--webhook-url-slack=

  • The Slack Webhook URL to use if WebhookFeature is set to TRUE
  • Data Type: String

Command option example:
--webhook-url-slack=https://webhook.slack.com/YourSlackWebhookURL

--webhook-url-teams=

  • The Teams Webhook URL to use if WebhookFeature is set to TRUE

Command option example:
--webhook-url-teams=https://webhook.teams.com/YourTeamsWebhookURL

Additional Command Line Triggers

Information can be found regarding these triggers throughout the wiki

--deadline-count-delete-all

--debug-mode

--debug-mode-off

--deferral-timer-reset-all

--help

--reset-defaults

--reset-labels

--uninstall

--usage

--verbose-mode

--verbose-mode-off

--version | --vers

--webhook-feature-all

--webhook-feature-failures

--webhook-feature-off

--workflow-disable-app-discovery

--workflow-disable-app-discovery-off

--workflow-disable-relaunch

--workflow-disable-relaunch-off

--workflow-install-now