Did you try to paste the command in my other post? I just tested it and it works as is. Are you getting an error message? Do you have cheat mode enabled?
Code:
config.cheat_mode 1
campaign.add_troops imperial_recruit | 100
(These are commands for 1.2.4, not sure if they changed)