code: function hibernate(options = {}) {
      if (process.platform !== 'win32') {
          throw new Error('Unsupported OS (only Windows is supported)!');
      }
  
      let cmdarguments = ['shutdown'];
  
      cmdarguments.push('-h'); // hibernate    
   
      executeCmd(cmdarguments, options.debug, options.quitapp);
  }
docs: Hibernate (Windows only)
  @param {Object} options