Enterprise Portal Admins can run ad hoc commands on their devices, and view which commands are bound to specific devices, giving them greater flexibility and visibility into their systems.
Terminology:
- Enterprise Portal: Portal where Enterprise Admins manage settings for multiple organizations under one Enterprise Configuration. Differs from the JumpCloud Admin Portal, which is for one organization
- Enterprise (formerly Enterprise Configuration): Centralized hub for all the organizations' objects in the Enterprise Portal. Items can be created and shared for organizations in the Enterprise Portal from this hub
- Organizations: A division of the enterprise (for example a region or a country) that maintains its own users, devices, and resources
Prerequisites:
- You must have Command Runner or higher permissions to run an ad hoc command on devices.
Running an Ad Hoc Command on Devices

To run an ad hoc command on devices in the Enterprise Portal:
- Log in to your Enterprise Portal.
- Go to Device Management > Devices, then click the Devices tab.
- An aggregate list of all your devices will be displayed. You can search or filter for a specific device.
- Click the Actions dropdown menu, and select Run Command.
- A list of existing commands associated with that device will be displayed. You can search for a command, or create a new one.
- To create a new one, click + New Command, then give it a Name.
Depending on the OS, some of the fields will be slightly different. For example, if it’s a Windows device, the option to run Windows Powershell will be available to select. For Mac and Linux, you’ll be required to select a user to run the command on the device under the Run as dropdown menu. See Get Started: Commands to learn more.
- Enter your Command, then under Timeout after, enter an amount of time in seconds.
- Under Time to Live (TTL) Settings, you can either Use Smart Defaults and select an amount of time from the dropdown menu, or Set Custom Duration and choose your own time to live.
- Then click Save And Run Command. This will save the command to the org that the device is associated with, and run the command on that device.
You can re-use this command but it won’t be bound to any devices since it’s being run once, manually.
If you want to see or cancel the command, click Device Management > Commands > Queue for all commands being run on the device.
If you want to see the status of any commands run, click Commands > Results.
To see the status of Commands ran on specific devices:
- From the Enterprise Portal, go to Device Management > Devices, then click the Devices tab.
- An aggregate list of all your devices will be displayed.
- Click the dropdown arrow next to the device Status column to expand the row. The row will show a Commands card with a count of how many commands have been run on the device. Along with the status of each command (Fail/Success). You can click to View All of the commands associated with the device from here to see more details.
