Suspend and Resume Virtual Machine via Script

Discussion in 'General Questions' started by sabdal, Jan 7, 2017.

  1. sabdal

    sabdal Junior Member

    Messages:
    10
    I used to be able to use this:
    Code:
    #!/bin/sh
    /usr/local/bin/prlctl suspend "Windows 8.1"
    exit;
    But it no longer works under Sierra. Can anybody help?
    Thanks in advance
     
  2. PaulChristopher@Parallels

    PaulChristopher@Parallels Product Expert Staff Member

    Messages:
    3,112
    Hi sabdal, are you using Parallels Desktop 12 for Mac? Suspending your virtual machine may prove efficient if you need to restart your Mac, but do not want to: quit the applications running in the virtual machine or spend much time on shutting the guest operating system down and then starting it again. We would suggest you check it manually(Not using command) and let us know the results.
    To suspend a virtual machine, do one of the following:
    * Choose Suspend from the Actions menu or
    * Click the Suspend button in the Parallels Desktop toolbar.
     
  3. sabdal

    sabdal Junior Member

    Messages:
    10
    Sorry I missed this. A year ago. Well it suspends and resumes just fine, it's just that the old Script doesnt' work anymore. Need to tweak the script but I know nothing about AppleScript. Anybody that can help use these commands would be appreciated.
     

Share This Page