The use of group analysis of differential equations in solving the problem of pulsed laser intensity control in addition to the optimal control theory has made it possible to answer questions whether is the intensity control with varying Q-factor or laser pumping preferable and what kind of a Q-switch, active or passive, is advantageous.