Original: When the Count detects the interest of the adolescent page, Cherubino (a breeches role), in the Countess, he tries to get rid of Cherubino by giving him an officer's commission in his own regiment.
Simplified: The Counts notices this and he tries to get rid of Cherubino by giving him the job of officer's commission in his own army.