code: def reset(name, runas=None):
      '''
      Reset a VM by performing a hard shutdown and then a restart
  
      :param str name:
          Name/ID of VM to reset
  
      :param str runas:
          The user that the prlctl command will be run as
  
      Example:
  
      .. code-block:: bash
  
          salt '*' parallels.reset macvm runas=macdev
      '''
      return prlctl('reset', salt.utils.data.decode(name), runas=runasf reset(name, runas=None):
      '''
      Reset a VM by performing a hard shutdown and then a restart
  
      :param str name:
          Name/ID of VM to reset
  
      :param str runas:
          The user that the prlctl command will be run as
  
      Example:
  
      .. code-block:: bash
  
          salt '*' parallels.reset macvm runas=macdev
      '''
      return prlctl('reset', salt.utils.data.decode(name), runas=runas)
docs: Reset a VM by performing a hard shutdown and then a restart
  
      :param str name:
          Name/ID of VM to reset
  
      :param str runas:
          The user that the prlctl command will be run as
  
      Example:
  
      .. code-block:: bash
  
          salt '*' parallels.reset macvm runas=macdev