Creating a shell script for macOS

You can create any shell script you want for execution on macOS devices, as long as the script can run within a shell script file. You can use wrappers if necessary. The execution of binary files from within a shell script is not supported.

You can copy and modify existing scripts, or create your own.

Before you begin 

Before you can run shell scripts on macOS devices, you must have instructed macOS device users to:

  • Download and install Ivanti Mobile@Work for macOS
  • Register with Ivanti EPMM using Ivanti Mobile@Work for macOS

Registering macOS devices with Ivanti EPMM using Ivanti Mobile@Work for macOS

Shell scripting primer (on the Apple website)