Microsoft posted its first ever loss on Thursday, shedding $492 million in the fourth quarter due to a massive $6.2 billion write-down to reflect the slump in value of its online operations.