Shadmani served as the wartime chief of staff and commander of the armed forces emergency headquarters. Shadmani commanded both the Revolutionary Guards and the Iranian army.
He was appointed at the beginning of Israel's Operation Rising Lion to command Iran's armed forces after his predecessor, Gholam Ali Rashid, was eliminated in the opening strike of the operation.
Before his predecessor's elimination, Shadmani served as deputy commander of the Khatam al-Anbiya emergency headquarters and as head of operations division at the armed forces general staff.

