Fleet logo
Menu An icon indicating that interacting with this button will open the navigation menu.
Fleet logo An 'X' icon indicating that this can be interacted with to close the navigation menu.

Solutions

a small chevron
Device management

Device management

Remotely manage, and protect laptops and mobile devices.

Orchestration

Orchestration

Automate tasks across devices, from app installs to scripts.

Software management

Software management

Inventory, patch, and manage installed software.

Extend Fleet

Extend Fleet

Integrate your favorite tools with Fleet.


Customers

a small chevron
Stripe + Fleet

Stripe + Fleet

Stripe consolidates multiple tools with Fleet.

Foursquare + Fleet

Foursquare + Fleet

Foursquare quickly migrates to Fleet for device management.

What people are saying

What people are saying

Stories from the Fleet community.


Pricing

More

a small chevron
Docs

Docs

Guides

Guides

Support

Support

News

News

Get your license

Get your license

The handbook

The handbook

Fleet @ Meow Wolf

Kick off JNUC with Fleet at Meow Wolf Denver's Convergence Station.

Join us
Get a demo Try it yourself
Solutions A small chevron
Device management

Device management

Remotely manage, and protect laptops and mobile devices.

Orchestration

Orchestration

Automate tasks across devices, from app installs to scripts.

Software management

Software management

Inventory, patch, and manage installed software.

Extend Fleet

Extend Fleet

Integrate your favorite tools with Fleet.

Customers A small chevron
Stripe + Fleet

Stripe + Fleet

Stripe consolidates multiple tools with Fleet.

Foursquare + Fleet

Foursquare + Fleet

Foursquare quickly migrates to Fleet for device management.

What people are saying

What people are saying

Stories from the Fleet community.

Pricing
More A small chevron

Fleet @ Meow Wolf

Kick off JNUC with Fleet at Meow Wolf Denver's Convergence Station.

Join us
Docs

Docs

Guides

Guides

Support

Support

News

News

Get your license

Get your license

The handbook

The handbook

Try it yourself Get a demo

macOS Apple

Windows Windows

Linux Linux

MDM commands Scripts OS settings

Controls

click to open the table of contents

Commands

Linux doesn't support MDM commands, but you can use scripts to perform common device management tasks.

View recommended scripts for Linux.

A collection of commands you can send to devices. Contributions welcome over on GitHub.

Profile managment

Install profile

Install a configuration profile on a device.

View details

Profile list

Get a list of installed profiles on a device.

View details

Remove profile

Remove a previously installed profile from the device.

View details

Install provisioning profile

Install a provisioning profile on a device.

View details

Provisioning profile list

Get a list of installed provisioning profiles on a device.

View details

Remove provisioning profile

Remove a previously installed provisioning profile from a device.

View details

Device details

Device information

Get detailed information about a device.

View details

Device configured

Inform the device that it can allow the user to continue in Setup Assistant.

View details

User configured

Inform the device that it can allow the user to continue in Setup Assistant.

View details

Restrictions

Get a list of restrictions on the device.

View details

Device state

Erase device

Remotely and immediately erase a device.

View details

Device lock

Remotely and immediately lock a device.

View details

Restart device

Remotely and immediately restart a device.

View details

Shut down device

Remotely and immediately shut down a device.

View details

Managed apps

Install application

Install a third-party app on a device.

View details

Install enterprise application

Install an enterprise app on a device.

View details

Installed application list

Get a list of the installed apps on a device.

View details

Managed application list

Get the status of all managed apps on a device.

View details

Remove application

Remove an app.

View details

Apply redemption code

Remove an app.

View details

Validate applications

Force validation of developer and universal provisioning profiles for enterprise apps.

View details

Managed application attributes

Query attributes in managed apps on a device.

View details

Managed application configuration

Get app configurations from managed apps on a device.

View details

Managed application feedback

Get app feedback from a managed app on the device.

View details

Managed media

Install media

Install a book on a device.

View details

List managed media

Get a list of the managed books on a device.

View details

Remove media

Remove a previously installed book from a device.

View details

Accounts

Account configuration

Create and configure a local administrator account on a device.

View details

Invite to program

Invite a user to join the Volume Purchase Program (VPP).

View details

Passwords

Clear passcode

Remove the passcode from a device.

View details

Clear restrictions password

Remove the passcode from a device.

View details

Unlock user account

Unlock a user account that the system locked because of too many failed password attempts.

View details

Set local admin password

Update the local administrator account password.

View details

Set firmware password

Change or clear the firmware password on a device.

View details

Verify firmware password

Verify the firmware password on a device.

View details

Lost device

Enable lost mode

Verify the firmware password on a device.

View details

Device location

Request the location of a device when in Lost Mode.

View details

Play lost mode sound

Play the Lost Mode sound on a device that’s in Lost Mode.

View details

Disable lost mode

Take the device out of Lost Mode.

View details

Recovery lock

Set Recovery Lock

Set or clear the Recovery Lock password.

View details

Verify Recovery Lock

Verify the device’s Recovery Lock password.

View details

Content caching

Content caching information

Get the status of the content caches on a device.

View details

Airplay mirroring

Request AirPlay mirroring

Prompt the user to share their screen using AirPlay Mirroring.

View details

Stop AirPlay mirroring

Stop mirroring the display to another device.

View details

eSim management

Refresh cellular plans

Query a carrier URL for active eSIM cellular-plan profiles on a device.

View details

Managed settings

Disable remote desktop

Disable Remote Desktop on a device.

View details

Enable remote desktop

Enable Remote Desktop on a device.

View details

Configure settings

Configure settings on a device.

View details

Lights-Out management

LOM Device Request

Send requests to a device using lights-out management (LOM).

View details

LOM setup Request

Get information from a device to set up lights-out management (LOM).

View details

Security

Security info

Get security-related information about a device.

View details

List certificate

Get a list of installed certificates on a device.

View details

Activation Lock bypass code

Get the code to bypass Activation Lock on a device.

View details

Clear Activation Lock bypass code

Clear the Activation Lock bypass code on a device.

View details

Rotate FileVault key

Clear the Activation Lock bypass code on a device.

View details

Extensions

Active NSExtensions

Get a list of active extensions for a user on a device.

View details

NSExtensions mappings

Get a list of the installed extensions for a user on a device.

View details

User management

List users

Get a list of users with active accounts on a device.

View details

Log out user

Force the current user to log out of a device.

View details

Delete user

Delete a user’s account from a device.

View details

Declarative management

Declarative management

Enable your server to support declarative management or trigger a declarative management synchronization operation on the device.

View details

BitLocker

RotateRecoveryPasswords

Triggers a one-time rotation of all numeric BitLocker recovery passwords for OS and fixed drives on Entra ID or hybrid-joined devices. Requires Active Directory backup of recovery passwords to be set to "required" before execution.

View details

CertificateStore

Enroll (Personal scope)

Initiates SCEP certificate enrollment in the personal certificate store on the device.

View details

RenewNow

Triggers an immediate renewal of an existing certificate in the personal certificate store on the device.

View details

ClientCertificateInstall

Enroll (Device context)

Triggers the device to start SCEP certificate enrollment at the device scope. The device will not notify MDM server after cert enrollment is done. The MDM server could later query the device to find out whether new cert is added.

View details

Enroll (User context)

Triggers the user context to start SCEP certificate enrollment. The device will not notify MDM server after cert enrollment is done. The MDM server could later query the device to find out whether new cert is added.

View details

DMClient

Enroll

Silently unenrolls the device from a Linked Enrollment without user interaction. All settings and resources applied by the Declared Configuration are rolled back automatically.

View details

Unenroll (linked enrollment)

Triggers the device to unenroll from its linked MDM enrollment

View details

InitiateRecovery

Initiates a device recovery action. The server can specify prerequisites that must be met before the recovery action proceeds.

View details

Unenroll (provider)

Triggers the device to unenroll from a specific MDM provider. The Provider ID of the management server must be specified in the <Data> element of the command.

View details

Unenroll (device)

Triggers the device to permanently unenroll from its current MDM management server. The Provider ID of the management server must be specified in the <Data> element of the command.

View details

Defender

OfflineScan

Starts a Microsoft Defender Offline scan on the device. After the next reboot, the device will start in Microsoft Defender Offline mode to perform a scan before Windows loads, helping detect and remove persistent or hard-to-find malware.

View details

RollbackEngine

Rolls back the Microsoft Defender antimalware engine to its last known good version on the device.

View details

RollbackPlatform

Rolls back Microsoft Defender to its last known good installation location on the device.

View details

Scan

Starts a Windows Defender scan on the device

View details

UpdateSignature

Performs a Windows Defender signature update on the device.

View details

DiagnosticLog

MdmConfiguration

Triggers a snapshot of the device’s management state data, capturing the current MDM configuration for diagnostic purposes.

View details

ArchiveDefinition

Definition and collection point for diagnostic archives on the device.

View details

Export

Triggers exporting events from the associated Windows event channel into a log file with the standard .evtx extension.

View details

TraceControl

Triggers the start or stop of the associated trace session.

View details

EnterpriseDesktopAppManagement

DownloadInstall (Device context)

Executes the download and installation of an application. An optional <DownloadFromAad> tag in the <Enforcement> section of the XML (default 0) can be set to 1 to include the AAD user token when retrieving the download URL.

View details

DownloadInstall (User context)

Executes the download and installation of an application. An optional <DownloadFromAad> tag in the <Enforcement> XML section (default 0) can be set to 1 to include the AAD user token when retrieving the download URL.

View details

EnterpriseModernAppManagement

HostedInstall (Device context)

Installs an app package from a hosted location, such as a local drive, UNC path, or HTTPS source.

View details

StoreInstall (Device context)

Installs an app along with its license from the Microsoft Store under the device context.

View details

AddLicense (Device context)

Adds a specified app license to the device using the provided license ID.

View details

GetLicenseFromStore (Device context)

Retrieves a specified app license from the Microsoft Store using the provided license ID.

View details

ResetPackage (Device context)

Restores a specified Windows app to its initial state by resetting all configurations and data associated with the package.

View details

UpdateScan (Device context)

Starts a Windows Update scan on the device.

View details

HostedInstall (User context)

Installs an app package from a hosted location, such as a local drive, UNC path, or HTTPS source.

View details

StoreInstall (User context)

Command to perform an install of an app and a license from the Microsoft Store.

View details

AddLicense (User context)

Adds a specified app license to the device using the provided license ID.

View details

GetLicenseFromStore (User context)

Retrieves a specified app license from the Microsoft Store using the provided license ID.

View details

RemovePackage (User context)

Removes a specified Windows app package from the device.

View details

ResetPackage (User context)

Restores a specified Windows app to its initial state by resetting all configurations and data associated with the package.

View details

UpdateScan (User context)

Starts a Windows Update scan under the user context to check for available app updates.

View details

HealthAttestation

TriggerAttestation

Triggers an asynchronous device health attestation session, prompting the device to collect and submit its current health status for verification.

View details

VerifyHealth

Notifies the device to prepare a device health verification request.

View details

Local Administrator Password Solution (LAPS)

ResetPassword

Immediately generates and securely stores a new random password for the managed local administrator account on the device using Local Administrator Password Solution (LAPS).

View details

Office

Install (User context)

Installs Microsoft Office for the user based on the provided XML configuration.

View details

Install (Device context)

Installs Microsoft Office on the device using the provided XML configuration data.

View details

PrinterProvisioning

Install

Installs a Universal Print printer for the user asynchronously.

View details

Reboot

RebootNow

Triggers an immediate device reboot, typically within 5 minutes to allow the user to finish active work. If executed during a sync session, the device will reboot at the end of the session.

View details

RemoteWipe

doAutomaticRedeployment

Triggers an Autopilot reset on the device. Unlike a standard reset, the device remains enrolled in Azure AD and MDM, and preserves Wi-Fi profiles, region, language, keyboard settings, and other key configurations.

View details

doWipe

Performs a remote wipe on the device. The return status indicates whether the device accepted the command. When used with OMA Client Provisioning, include a dummy value of "1" for this element.

View details

doWipeCloud

Performs a cloud-based remote wipe on the device. The return status indicates whether the device accepted the command.

View details

doWipeCloudPersistProvisionedData

Performs a cloud-based remote wipe while preserving provisioning data by backing it up to a persistent location. The backed-up data is restored and applied when the device resumes. The return status indicates whether the device accepted the command.

View details

doWipeCloudPersistUserData

Performs a cloud-based remote reset while preserving user accounts and data. The return status indicates whether the device accepted the command.

View details

doWipePersistProvisionedData

Performs a remote wipe while preserving provisioning data by backing it up to a persistent location. The backed-up data is restored and applied when the device resumes. The return status indicates whether the device accepted the command. When using OMA Client Provisioning, include a dummy value of "1" for this element.

View details

doWipePersistUserData

Performs a remote reset of the device while preserving user accounts and data. The return status indicates whether the device accepted the command.

View details

doWipeProtected

Performs a remote wipe that fully cleans the internal drive and continues retrying until complete, even after power cycles. Unlike doWipe, which can be interrupted by a simple power cycle, doWipeProtected ensures the wipe finishes. May render the device unbootable on some configurations.

View details

WindowsDefenderApplicationGuard

InstallWindowsDefenderApplicationGuard

Remotely installs the Windows Defender Application Guard feature on the device.

View details

WindowsLicensing

ChangeProductKey

Installs a new Windows product key on the device without requiring a reboot.

View details

CheckApplicability

Checks if the provided product key is valid for upgrading the Windows edition on the device, returning TRUE if applicable.

View details

SwitchFromSMode

Switches the device from Windows 10/11 S mode to a standard edition, if eligible. No reboot is required.

View details

RemoveSubscription

Removes the subscription license from the device and resets the subscription type to a user-based subscription.

View details

UpgradeEditionWithLicense

Upgrades the Windows edition on the device by applying a provided license. No reboot is required to complete the upgrade.

View details

UpgradeEditionWithProductKey

Upgrades the Windows edition on the device by applying a specified product key. A reboot is required to complete the upgrade.

View details

eUICCs

ResetToFactoryState

Triggers an eUICC (embedded Universal Integrated Circuit Card) factory reset, permanently deleting all eSIM (embedded Subscriber Identity Module) profiles stored on the eUICC.

View details

Controls

MDM commands Scripts OS settings
Fleet logo
Multi platform Device management Orchestration Software management Integrations Pricing
Documentation Support Docs API Release notes Get your license
Company About News Jobs Logos/artwork Why open source?
ISO 27001 coming soon a small checkmarkSOC2 Type 2 Creative Commons Licence CC BY-SA 4.0
© 2025 Fleet Inc. Privacy
Slack logo GitHub logo LinkedIn logo X (Twitter) logo Youtube logo Mastadon logo
Tried Fleet yet?

Get started with Fleet

Start
continue
×