> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Issue Device Command

Force a device to Scan, Patch, or Reboot for immediate execution. **Note: The `installAllUpdates` option ignores any Policy Filters.** Please use [/policies/{id}/action](https://developer.automox.com/openapi/axconsole/operation/executePolicy) to run a policy immediately.

<Note>
  External Documentation

  To learn more, visit the [Automox documentation](https://developer.automox.com/openapi/axconsole/operation/issueDeviceCommand/).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter         | Description                                                                                                                                                                                                            |
  | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Args              | Only needed for `InstallUpdate`. Includes the name of the patches to install.                                                                                                                                          |
  | Command Type Name | `GetOS` - Triggers a device scan.<br />`InstallUpdate` - Installs a specific patch.<br />`InstallAllUpdates` - Installs all available patches. NOTE: This ignores any Policy Filters!<br />`Reboot` - Forces a reboot. |
  | Device ID         | Server ID for the specified device.                                                                                                                                                                                    |
  | Organization ID   | Organization ID for the specified device.                                                                                                                                                                              |
</div>

## Workflow Library Example

[Issue Device Command with Automox and Send Results Via Email](https://library.blinkops.com/workflows/issue-device-command-with-automox-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/issue-device-command-with-automox-and-send-results-via-email/canvas" />
</div>
