Headwind MDM can execute command line scripts through Push messages.
To execute a script:
1. Select Functions - Push messages.
2. Click "New message"
3. Select the message type "custom", type runCommand and the following payload:
{"command": "your script here"}
Note that Headwind MDM doesn't have full adb permissions, it has the device owner permissions. So you need to test whether the script is working well (use logcat to check).