This website uses cookies and other tracking technologies to function, personalize your experience, analyze how users engage with us, and tailor advertising to you. We may share this information with our social media, advertising, and analytics partners. Some of this sharing may be considered a sale or sharing of personal data under certain privacy laws. You can adjust your settings by clicking the manage settings button below. We also recognize GPC signals if you have set them in your browser. Clicking the "x" to close this banner or interacting with our website will accept all cookies and other tracking technologies.
Powered by: cookie notice provider logo

LogMeIn support sites no longer support Microsoft's Internet Explorer (IE) browser. Please use a supported browser to ensure all features perform as they should (Chrome / FireFox / Edge).

The GoTo support site no longer supports Safari 15. Please upgrade your browser to Safari 16 (or newer) or switch to a supported browser such as Google Chrome, Mozilla Firefox, or Microsoft Edge.

Simply secure and manage all devices. Discover LogMeIn Resolve Mobile Device Management.

We are currently experiencing an unplanned outage for this product.
  • Support
  • Products

    Explore support by product

    GoTo Connect

    All-in-one phone, meeting and messaging software

    GoTo Meeting

    Video and audio meeting software

    GoTo Webinar

    All-in-one webinar and virtual events software

    GoTo Room

    Conference room hardware

    GoTo Training

    Online training software

    OpenVoice

    Audio conferencing software

    Grasshopper

    Lightweight virtual phone system

    join.me

    Video conferencing software

    LogMeIn Resolve

    IT management & support

    LogMeIn Resolve MDM

    Mobile device management

    LogMeIn Pro

    Remote device access

    LogMeIn Central

    Remote monitoring & management

    LogMeIn Rescue

    Remote IT support

    GoToMyPC

    Remote desktop access

    GoToAssist

    Remote support software

    Hamachi

    Hosted VPN service

    RemotelyAnywhere

    On-prem remote access solution
  • Community
  • Service Status
  • Try the improved My Cases portal

    Easily manage your ticket, track its status, contact us from an existing case, and more.

    Sign in to try
  • Language selector icon Language selector icon
    • English
    • Français
    • Italiano
    • Deutsch
    • Español
    • Português
    • Nederlands
  • Contact Support
  • Service Status
  • User Avatar User Avatar
    • Support
    • Contact Support
    • Browse Products
    • Service Status
    • Community
    • Sign in
    • User Avatar
    • My Account
    • Personal Info
    • Sign In & Security
    • My Cases
    • Billing Center
    • https://link.goto.com/myaccount-billing
    • My GoTo Connect
    • My Meetings
    • My Webinars
    • My Trainings
    • My Conferences
    • My Resolutions
    • My Mobile Devices
    • My Sessions
    • My Sessions
    • My Incidents
    • Sign out
  • Device Platforms
  • iOS and macOS
  • macOS
  • App Management
product logo
Back button image Back
Back button image
product logo

Mac scripting

Scripting is a way to automate the execution of certain routine or time-consuming tasks on Mac devices. Scripts can be deployed to devices with a device management solution, and together with the solution's automation possibilities, administrators gain more management options over the organization's macOS devices.

Before you begin: The following requirements must be met to deploy scripts to Mac devices:
  • The device must run macOS Catalina (version 10.15) or a later version.
  • The Miradore client application must be installed on the devices. The Miradore client is automatically installed on Mac devices enrolled in LogMeIn Resolve MDM.
For general information on scripting, see Application management and scripting for macOS devices.

Add a script to LogMeIn Resolve MDM

  1. Navigate to Management > Applications and select Add > macOS application.
  2. Select Script, then select Next.
  3. Fill in the application details as shown in the table below, then select Create to finish uploading the application package.
    Application detail Description
    Description Optional field.

    This field can be used to identify the application and its different deployment methods. This may help you identify different deployment types, for example, when deploying further applications or configuring business policies.

    Application name Mandatory field.

    The name of the application as seen in LogMeIn Resolve MDM and on the device.

    Script Mandatory field.

    The script that will be executed on the macOS device. You may type the script straight in the text field or copy it there from a file.

    Important: A shell script must start with the character sequence #! (shebang) followed by the interpreter used to execute the script. For example, #!/bin/bash runs a bash script. For more information, see Apple's documentation or Scripting OS X's blog post.
    Success return codes Optional field.

    The return code or a range of return codes for successful execution. Separate the codes by comma, for example, 0,100,200-204. If the field is left empty, the default code, 0, is shown for successful execution.

    Required free disk space (MB) Optional field.

    Defines the required free disk space in megabytes required for deploying the script.


    Example script for macOS

Results: Scripts can be deployed to a single device or multiple devices from the Applications and Devices pages in LogMeIn Resolve MDM.

Deploying a script

Scripts can be deployed to a single device or multiple devices from the Applications and Devices pages in LogMeIn Resolve MDM. For detailed instructions, see Application management and scripting for macOS devices.

Automating the script deployment with a business policy

LogMeIn Resolve MDM's business policies offer a way to automate the deployment of your script. This way, when you create and enable the business policy, the script installation is enforced on all devices within the business policy's scope. Learn more about business policies in Creating a business policy.

View and edit a script

To view and edit scripts, navigate to Management > Applications and find the script application you wish to view, then select a version on the Main tab.
The following tabs are available on the application version page:
  • Deployment methods: View and edit script details.
  • Deployments: See the deployment history of the script application.
  • Devices: See the details of the devices the script is deployed to.
Related Articles:
  • Application management and scripting for macOS devices
  • Creating a business policy
Article last updated: 3 March, 2025

Need help?

Contact icon Contact support
Manage Cases icon Manage cases
Video icon Watch videos
  • Language selector icon Language selector icon
    • English
    • Français
    • Italiano
    • Deutsch
    • Español
    • Português
    • Nederlands
  • About Us
  • Terms of Service
  • Privacy Policy
  • Trademark
  • Do Not Sell or Share My Personal Info
  • Browse Products
  • Cookie Preferences
  • Copyright © 2025 GoTo Group, Inc. All rights reserved

Collaboration Products

GoTo Connect

GoTo Meeting

GoTo Webinar

GoTo Training

join.me

Grasshopper

OpenVoice

Remote Solutions Products

GoTo Resolve

Rescue

GoToAssist

Access Products

Pro

Central

GoToMyPC