Layoffs, hardware… Battle at Microsoft