---
title: "Meissa Bot: Jamf Commands in Slack Tickets"
canonical: "https://support.meissa.net/space/CD/2351661093/Meissa%20Bot%3A%20Jamf%20Commands%20in%20Slack%20Tickets"
format: markdown
---
Meissa Bot enables interacting with Jamf through Slack. To use it simply use any of the commands in format notated below in a ticket. Please note that the commands must be issued inside of a ticket and commands made outside of a ticket or in a DM will not work. 

## Passcodes and Keys

<details>
<summary>filevault</summary>

**Description:** Returns the FileVault recovery key for a macOS device. This command is only supported on macOS.    
  
**Example:** `filevault:Q7B3D9X6KF`    
**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>password</summary>

**Description:** Returns the managed administrator account username and password for a macOS device. Note that the password is valid for only one hour from the time it is viewed, after which it automatically changes. This command is only supported on macOS.    
  
**Example:** `password:Q7B3D9X6KF`    
**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>recoverylock</summary>

**Description:** Returns the recovery lock passcode for a macOS device. This command is only supported on macOS.    
  
**Example:** `recoverylock:Q7B3D9X6KF`  
**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>recoverylockclear</summary>

**Description:** Clears the recovery lock passcode. Helpful for delivering devices to Apple for repairs.  

**Example:** `recoverylockclear:Q7B3D9X6KF`  
**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>recoverylockenable</summary>

**Description:** Enables Recovery Lock. This command re-enables recovery lock. Generally used if recovery lock has previously been disabled for the purpose of returning the device to Apple for repair. This command is only supported on macOS.  

**Example:** `recoverylockenable:Q7B3D9X6KF`  
**Status:** <span style="color: #36b37e">**Active**</span>
</details>

## Locking/Unlocking and Location

<details>
<summary>lock</summary>

**Description:**  

- For macOS devices: Sends an MDM lock command to the device. If a lock message is greater than ~218 characters, the message will be cut off (but still present) on the lock screen of the Mac. Command will still process as expected. Note that the lock pin code must be 6 numeric digits.
- For iOS devices: Enables Lost Mode. The command must include the device ID, a phone number, and a message in this format: `lock:DEVICE_ID:PHONE_NUMBER:MESSAGE`.

**Example:**  

- macOS: `lock:Q7B3D9X6KF:123456:Put up to 218-character lock message here`
- iOS: `lock:Q7B3D9X6KF:202-555-2368:Please give me my phone back!`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>unlock</summary>

**Description:**  

- For macOS devices: Not supported. Unlocking cannot be done remotely and requires manually entering the passcode on the device.
- For iOS devices: Sends the Disable Lost Mode command to remove Lost Mode from the device.

**Example:** `unlock:Q7B3D9X6KF`  

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>location</summary>

**Description:**  

- For macOS devices: Displays the last known coordinates of the device if Praetorian is installed.
- For iOS devices: Displays the Lost Mode location if the device is in Lost Mode; otherwise, it shows the public IP address.

**Example:** `location:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

## macOS

<details>
<summary>policy</summary>

**Description:**  

Forces a check-in with the Jamf Pro server immediately  
  
**Example:** `policy:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>recon</summary>

**Description:**  

Forces an inventory update with the Jamf Pro server immediately  
  
**Example:** `recon:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>manage</summary>

**Description:**  

Forces an update to the management framework of Jamf Pro. This includes updates to: check-in frequency and restricted software defintions.

**Example:** `manage:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>redeploy</summary>

Pushes the redeploy Jamf Management Framework command to a macOS device. This is useful if the device can receive MDM commands but the agent is not checking in. This command is only supported on macOS.    
  
Note that this does not assist in redeploying a device or reprovisioning the device. This command is intended for repushing the Jamf management framework in order to restore communication to a device that for whatever reason is no longer checking in.  
  
**Example:** `redeploy:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>group</summary>

**Description:**  

Specify the group ID along with the serial number  
  
**Example:** `group:Q7B3D9X6KF:145`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>release</summary>

**Description:**  

Releases a device from Apple Business Manager (ABM) or Apple School Manager (ASM)

**Example:** `release:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

## macOS Login Window

<details>
<summary>loginjamfconnect</summary>

**Description:**  

Sets the login window to the Jamf Connect Login Window

**Example:** `loginjamfconnect:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>loginmacos</summary>

**Description:**  

Sets the login window to the macOS Login Window

**Example:** `loginmacos:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Inactive**</span>
</details>

<details>
<summary>loginrefresh</summary>

**Description:**  

Relaunches the macOS loginwindow process. Note that if any users are logged into the device this command will force log them out. This command is helpful when toggling the Jamf Connect or macOS login window on/off

**Example:** `loginrefresh:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Inactive**</span>
</details>

## Okta Verify

<details>
<summary>oktarelaunch</summary>

**Description:**  

Relaunches Okta Verify

**Example:** `oktarelaunch:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

## Custom Triggers

<details>
<summary>trigger</summary>

**Description:**  

This terminates the Jamf binary before executing the specified custom trigger. Because of this, it should not be run in rapid succession without verifying that any previous executions have completed.

Ensure that the target policy is properly configured with a custom trigger, and that the device is already within scope of the policy for successful execution.

Note: Policy custom triggers are case-insensitive. For example, if the policy trigger is set to "Dockutil", using "dockutil" (or any other case variation) will still execute the same policy.

**Example:** `trigger:dockutil:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

## iOS

<details>
<summary>clearpasscode</summary>

**Description:**  

Clears the passcode on a managed iOS device immediately.  
  
**Example:** `clearpasscode:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>restart</summary>

**Description:**  

Restarts the iOS device immediately.  
  
**Example:** `restart:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>

<details>
<summary>release</summary>

**Description:**  

Releases a device from Apple Business Manager (ABM) or Apple School Manager (ASM)

**Example:** `release:Q7B3D9X6KF`

**Status:** <span style="color: #36b37e">**Active**</span>
</details>