Defense Secretary Mark Esper has ordered an investigation into leaks of both classified and unclassified material to media.