docs: async function findWindowsPortRange() {
    // First, check if we're running on XP.  If this initial command fails,
    // we just fallback on the default IANA range.
    let stdout = await execute('cmd.exe /c ver');
    if (/Windows XP/.test(stdout)) {
      // TODO: Try to read these values from the registry.
      return {min: 1025, max: 5000};
    } else {
      stdout = await execute('netsh int ipv4 show dynamicport tcp');
      /* > netsh int ipv4 show dynamicport tcp
        Protocol tcp Dynamic Port Range
        ---------------------------------
        Start Port : 49152
        Number of Ports : 16384
       */
      let range = stdout.split(/\n/)
          .filter((line) => /.*:\s*\d+/.test(line))
          .map((line) => Number(line.split(/:\s*/)[1]));
      return {
        min: range[0],
        max: range[0] + range[1]
      };
    }
  }