What were the military duties of ranked officers during Shakespeare's day?

The military duties of ranked officers were to follow the orders from superiors and provide leadership to those in their command. (Managing personnel, keeping records, ensuring basic needs, maintaining communication, maintaining order and discipline, and responding to emergencies.)