Enwright

Commodore Enwright was a 23rd century Starfleet flag officer who served as the commander of Starbase 6 during the late 2260s.

In 2268, Commodore Enwright ordered the USS Enterprise (NCC-1701) to his station. He contacted the Enterprise before they could initiate contact. When asked by James T. Kirk what the reason for the diversion was, Enwright told him that the explanation was beaming aboard the Enterprise as they spoke and might have already materialized.

The explanation in question, Bob Wesley, explained that the Enterprise had been chosen to test the tactical abilities of Dr. Richard Daystrom's experimental M-5 multitronic unit against an attack force commanded by Wesley. 

Background information
The voice of the unseen commodore was provided by James Doohan.

According to the first draft of the script, dated, Enwright beamed aboard the Enterprise along with Wesley to brief Spock and Kirk in the transporter room.

In this draft he was described as follows: "Enwright is fiftyish, perhaps visibly too heavy for his uniform. He is an administrative officer, and a good one, but he's never been a command pilot."

The character who appeared in the transporter room was ultimately cut by the final draft, and his lines were given to Wesley.

Enwright Enwright