Microsoft is intending to wipe out almost 10,000 jobs because of "macroeconomic circumstances and varying customer priorities."