

- #OS X SHELL SCRIPT TO PLAY VOICE WHEN NEW MAIL IS RECEIVED INSTALL#
- #OS X SHELL SCRIPT TO PLAY VOICE WHEN NEW MAIL IS RECEIVED MAC#

In Script settings, enter the following properties, and select Next: This setting is optional, but recommended.

Select Devices > macOS > Shell scripts > Add. Sign in to the Microsoft Endpoint Manager Admin Center.
#OS X SHELL SCRIPT TO PLAY VOICE WHEN NEW MAIL IS RECEIVED MAC#
Shell scripts will attempt to run more frequently than the chosen script frequency for certain conditions, such as if the disk is full, if the storage location is tampered with, if the local cache is deleted, or if the Mac device restarts.Root user privileges are required if the script requires making changes that a standard user account cannot.An end user is required to sign in to the device to execute scripts running as a signed-in user.Shell scripts that are run as the signed-in user will run for all currently signed-in user accounts on the device at the time of the run.Shell scripts run in parallel on devices as separate processes.For more information, see Microsoft Intune management agent for macOS. Shell scripts require that the Microsoft Intune management agent is successfully installed on the macOS device.Important considerations before using shell scripts Command-line interpreters for the applicable shells are installed.Shell scripts begin with #! and must be in a valid location such as #!/bin/sh or #!/usr/bin/env zsh.Devices are running macOS 10.13 or later.PrerequisitesĮnsure that the following prerequisites are met when composing shell scripts and assigning them to macOS devices. To view a sample script, see Rosetta 2 Installation Script.
#OS X SHELL SCRIPT TO PLAY VOICE WHEN NEW MAIL IS RECEIVED INSTALL#
To install Rosetta 2 on Apple Silicon Macs automatically, you can deploy a shell script in Endpoint Manager. Rosetta 2 is required to run 圆4 (Intel) version of apps on Apple Silicon Macs.
