Microsoft is laying off 10,000 workers by the end of March.