From August 1939 until May 1940, then Captain Bayler attended Amphibious Warfare School at MCB Quantico, VA. After graduation he returned to the west coast to serve as the communications and radio officer for Marine Aircraft Group 21 (MAG-21).
On 20 November 1941, Maj Bayler and 48 Marines from MAG-21 departed Pearl Harbor on board the USS Wright (AV-1) bound for Wake Island.
[9] Two days later on 23 December 1941, Wake Island fell to the Japanese with all members of the garrison either killed, wounded or taken prisoners of war for the remainder of World War II[10] After departing Wake Island, Maj Bayler arrived at Midway Atoll and quickly joined the growing Marine Aviation Detachment there under the command of LtCol William J. Wallace.
His task was to again establish air-ground radio communications however he also assisted the 6th Defense Battalion with the installation and operation of their newly acquired early warning radars.
[16] The radar picked up incoming aircraft over New Georgia giving Marine fliers enough advanced warning that they did not need to maintain a constant combat air patrol.
Bayler and his team assisted interdiction efforts against the Tokyo Express by relaying critical real-time information on Japanese shipping to US aircraft.
During this time he also sat as the senior member of a Radar Policy Board convened by the Commandant of the Marine Corps beginning on 11 February 1943.
On 1 July 1943, Col Bayler took command of the newly formed 1st Marine Air Warning Group (1st MAWG) at MCAS Cherry Point, NC.
He remained the commanding officer until 4 April 1944 at which time he was transferred to Headquarters Marine Corps, Division of Aviation to continue to develop requirements for the ever burgeoning air warning program.
[1] Colonel Bayler returned to the Pacific in December 1944 as the chief of staff for the rear echelon of the 4th Marine Aircraft Wing.
[23][24] He returned to Washington, D.C., in March 1946 to serve as the director of the Electronics Division, Bureau of Aeronautics, Navy Department until August 1948.
His next assignment was as the officer in charge of the Aviation Section, Marine Corps Schools at MCB Quantico, VA. During this time he was also a member of board chaired by Major General Oliver P. Smith which recommended an expansion of the Marine Corps' newly developed helicopter program in order to advance emerging concepts in landing force techniques.
For his first five years out of uniform, he worked in production control management for the Hughes Aircraft Company in Fullerton and later Newport Beach.
After his time with Hughes he earned his teaching certificate at Chapman College and taught physics at Sunny Hills High School in Fullerton for another 10 years.
Through his special ability, given determination and outstanding devotion to duty, he maintained communications in spite of the many failures caused by enemy bombings and shellings.