- edited description
MDM Commands to be added please
Hi Tim
Could you kindly add the commands to ver 2.1 or 3.0
Also , can we add search for device and multi select.
eg if I would like to install a profile for 3 devices , if I could cmd select the 3 and then install profile
Please advice if I have the incorrect commands
- Install PKG File from command
app
USAGE
mdmctl apply app [flags]
FLAGS
-manifest - path to an app manifest. optional,
will be created if file does not exist.
-md5size 10485760 md5 hash size in bytes (optional)
-pkg path to a distribution pkg.
-pkg-url use custom pkg url
-sign sign package before importing, requires specifying a product ID (optional)
-upload false upload package and/or manifest to micromdm repository.
2.
block device with 6 digit passcode
block
USAGE
mdmctl apply block [flags]
FLAGS
-udid UDID of a device to block.
3.
remove block
block
USAGE
mdmctl remove block [flags]
FLAGS
-udid UDID of device to unblock
4.
remove profile
profiles
USAGE
mdmctl remove profiles [flags]
FLAGS
-id profile Identifier, optionally comma separated
5.
Erase Device
#!/bin/bashsource $MICROMDM_ENV_PATHendpoint="v1/commands"jq -n \ --arg request_type "EraseDevice" \ --arg udid "$1" \ --arg pin $2 \ '.udid = $udid |.pin = $pin |.request_type = $request_type '|\ curl $CURL_OPTS -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint" -d@-
Thank you
E
Comments (5)
-
reporter -
- changed milestone to future
-
- changed milestone to 2.2
-
- changed status to resolved
Added in 22002 or later. Please verify and close.
-
Account Deactivated - changed status to closed
Confirmed new command buttons have been added.
- Log in to comment