The influence of laser beam parameters on the output pulses of a resonant microwave compressor with a laser-triggered plasma switch was investigated. The S-band compressor, consisting of a rectangular waveguide-based cavity and H-plane waveguide tee with a shorted side arm, was filled with pressurized dry air and pumped by 1.8-ls-long microwave pulses of up to 450 kW power. A Nd:YAG laser was used to ignite the gas discharge in the tee side arm for output pulse extraction. The laser beam (at 213 nm or 532 nm) was directed along the RF electric field lines. It was found that the compressor operated most effectively when the laser beam was focused at the center of the switch waveguide cross-section. In this case, the power extraction efficiency reached $47% at an output power of $14 MW, while when the laser beam was not focused the maximal extraction efficiency was only $20% at $6 MW output power. Focusing the laser beam resulted also in a dramatic decrease (down to <1 ns) in the delay of the output pulses' appearance with respect to the time of the beam's entrance into the switch, and the jitter of the output pulses' appearance was minimized. In addition, the quality of the output pulses' waveform was significantly improved.