_checkForElevatedRights() {
    let ui = this.ui;
    let exec = this.exec;

    return new Promise((resolve) => {
      exec('NET SESSION', (error, stdout, stderr) => {
        let elevated = !stderr || stderr.length === 0;

        if (!elevated) {
          ui.writeLine(chalk.yellow('\nRunning without permission to symlink will degrade build performance.'));
          ui.writeLine('See https://cli.emberjs.com/release/appendix/windows/ for details.\n');
        }

        resolve({
          windows: true,
          elevated,
        });
      });
    });
  }
Uses the eon-old command NET SESSION to determine whether or not the
current user has elevated rights (think sudo, but Windows).

@private
@method _checkForElevatedRights
@param  {Object} ui - ui object used to call writeLine();
@return {Object} Object describing whether we're on windows and if admin rights exist