Pivoting into entreprise from what? Microsoft always targeted entreprise first.
Ballmer was good at business and running the day-to-day housekeeping. But his legacy will always be that of Windows 8, of Surface RT, of dismissing the iPhone; frankly he didn't understand enterprise customers either. He was never the visionary leader.
He didn’t pivot to enterprise as much as totally forfeiting the consumer space.