The right way for the president to handle the DOD would be.
1. State a mission and a desired outcome.
2. Ask what DOD needs to get it done.
3. Work with congress to get it funded.
4. Tell DOD to keep him informed on progress.
Pretty simple, really. The only politics involved should be with Congress, not DOD. The only management of the mission should be at DOD, not the white house.