Porter was commissioned as an adjutant general under Gideon J. Pillow, and helped organize the Provisional Army of Tennessee. After this army was attached to the greater Confederate Army, Porter was assigned to General Benjamin F. Cheatham. As Cheatham's chief of staff, Porter took part in the battles of Belmont, Shiloh, Chickamauga, Missionary Ridge, and the Siege of Atlanta.