She has a reputation that 'commands' attention/respect. [=people give her respect/attention because of her reputation]
In the United States, the President as the commander in chief is at the head of the military 'chain of command'.
She seems to be 'in (full) command of' the situation. [=she seems to have complete control of the situation]
(..) But they put me in a public affairs unit. I was a good soldier. I helped recruitment. But all I ever really wanted was my own command. And now I finally got it. And I'm not gonna screw it up. Captain, I'm sorry. I... (..)2013 TvShow: Brooklyn Nine-Nine Title: Pilot Season: 1 Episode 1
(..) you caught the disco strangler. That's incredible. I've read that case. With all due respect, sir, why'd it take you so long to get your first command? Because I'm gay. Ah. Seriously? I'm surprised you didn't know. (..)2013 TvShow: Brooklyn Nine-Nine Title: Pilot Season: 1 Episode 1