> For the complete documentation index, see [llms.txt](https://docs.nduoiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nduoiq.com/getting-started/integrations/jamf-pro/commands/mac-commands/flush-commands.md).

# Flush commands

Clears failed or pending MDM commands from the queue.

#### What It Does

Removes stuck or failed management commands that are queued for the Mac. This is useful when commands have failed and are blocking new ones, or when pending commands are no longer needed.

#### How to Use

1. Open the device, tap **More** and select **Flush Commands**
2. Choose one of the following options:
   * **Failed Only** - clears only commands that have failed
   * **Failed and Pending** - clears both failed and pending commands

> **Note:** Flushing pending commands will cancel any queued actions that haven't been delivered to the device yet.

<div><figure><img src="https://1447076014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmVmNab4yyjruMxxWJ7bG%2Fuploads%2FoLGENk0jdz6MLlUuQlk0%2FSimulator%20Screenshot%20-%20iPhone%2017%20Pro%20-%202026-04-02%20at%2013.05.05.png?alt=media&amp;token=57601910-6704-4fd2-a4ec-b85a59ff9171" alt=""><figcaption></figcaption></figure> <figure><img src="https://1447076014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmVmNab4yyjruMxxWJ7bG%2Fuploads%2FHhxdlzhxtXhyQpwkSjGA%2FSimulator%20Screenshot%20-%20iPhone%2017%20Pro%20-%202026-04-02%20at%2013.05.08.png?alt=media&amp;token=1d89ba18-9a00-4844-807f-0d652a97c93c" alt=""><figcaption></figcaption></figure> <figure><img src="https://1447076014-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmVmNab4yyjruMxxWJ7bG%2Fuploads%2Fr5u9zyt3QJUaL35KUecY%2FSimulator%20Screenshot%20-%20iPhone%2017%20Pro%20-%202026-04-02%20at%2013.05.15.png?alt=media&amp;token=6a935106-2410-4cb4-aa64-675ee2d6c7fc" alt=""><figcaption></figcaption></figure></div>
