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.

Discover what our all-in-one IT solution can do for your business. Get LogMeIn Resolve free.

We are currently experiencing an unplanned outage for this product. Service Status
  • 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
  • Trainings
  • 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
    • Trainings
    • 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
  • Explore Resolve
  • Features and Tools
  • Automation in LogMeIn Resolve
  • Remote execution features
product logo
Back button image Back
Back button image
product logo

Run an automated PowerShell, JavaScript, or Python script

Create automated scripts that you can run on multiple devices without user interaction.

Note: To run automated scripts, you must have the latest major version of the relevant framework installed on the target computer.
Important: To use this feature, the user must be authenticated with zero trust authentication, which serves the security of the session. Authentication is required only once when you run a Remote Execution step.

    1. On the Devices > Remote Execution page, select Create new job.
      Can't find the page in the left menu? That's probably because the Devices menu is collapsed. Click the arrow to expand it.
    2. On the Create job page, choose the platform where you want to run automation steps.
    3. Add one of the following step to the list on the left:
      • PowerShell execution
      • JavaScript execution
      • Python execution
      • Shell script execution (available on Mac only)
    4. Paste your script to the field. You can also select files to upload that the remote devices can download.
      Note: You can reference the file(s) from the script. You can upload up to three files per job with a maximum size of 2GB each. Any file can be used.
    5. Optional: When you work with PowerShell, you can select Open script library to choose a pre-defined script to run. Then select Apply script.
      At this point, you can still edit the script as necessary.
    6. Click Next.
    7. From the list of Devices define the devices or a group of devices that will receive the script.
      You can organize your devices by selecting a grouping option from the top of the list.
    8. Optional: Select Add filters at the top of the device list to refine your list. You can filter devices by connection status, zero trust status, BitLocker encryption type, and categories, such as labels and tenants.
    9. Click Next.
    10. Name the job in a way that is easy to remember later on.
      Optionally, with a LogMeIn Resolve Premium plan you can schedule jobs up to one year in advance. To do so, toggle Schedule this job and set the time and date for the job to run. In the Date and time field, either type a date or click the calendar icon to choose it from a date picker.
      Remember: You can select offline devices for scheduled jobs, but when a job runs, devices must be online; otherwise, the job will fail on that device. Scheduled jobs run on each remote device's local time.
    11. Optional: Toggle Retry job for offline devices to let LogMeIn Resolve keep trying to rerun the job on devices that come back online. You can set the retry interval for up to 24 hours in the Queue time drop-down.
    12. Click Run.
      Note: A preset timeout pertains to both the job and the step.

      A timeout for every step is set to two hours, meaning that LogMeIn Resolve waits two hours for the script to finish on the remote computer. When the script finishes, LogMeIn Resolve starts the next step and waits another two hours for that step to finish. If a step does not finish on a remote computer in two hours, then it times out and the whole job fails.

Results:

Note:

When you reference a file from the script, you only have to enter its name. Once the step ends, the file is deleted from the remote computer, unless it is copied somewhere else with the script.

Example:

You upload 'a.txt' file for the job and you would like to copy it into a folder (also known as file distribution). Your script should look something like this:
Copy-Item a.txt C:\Destination
Related Articles:
  • Troubleshooting Remote Execution
Article last updated: 20 January, 2025

Need help?

Contact icon Contact support
Manage Cases icon Manage cases
Community icon Ask the Community
Training icon Attend trainings
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
  • 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