Microsoft (MSFT - Get Report) is ending 2018 on a high note as the software giant becomes the Dow's top tech performer of the year.

The software manufactured became the most valuable publicly traded U.S. company in November. In addition, Microsoft was also the top-performing technology stock, beating analysts' expectations for every quarter it reported in 2018.

In October, Microsoft reported first-quarter earnings of $1.14 a share, beating analysts' expectations of 96 cents a share. Revenue totaled $29.08 billion, compared with Wall Street's expectations of $27.90 billion. Microsoft was also the most-held names by U.S. hedge funds in the third quarter, according to a list compiled by WalletHub.

In March, the company reorganized, with Terry Myerson, who had been chief executive vice president of the Windows and Devices Group, leaving the company. The group was also split into two separate units: the "Experiences and Devices" team, headed by Rajesh Jha, former executive vice president of Microsoft's Office Product Group; and the "Cloud and AI Platform" team, headed by Executive Vice President Scott Guthrie.

The company struggled with Windows 10 version 1809, which was originally announced in October but pulled after some users reported problems. Microsoft re-released the October update to the consumers in November. In December, Microsoft made Windows 10 October 2018 Update available for all users who manually check for updates and there are reports that Microsoft updated the KB4023814 package and started pushing it to more devices on Dec. 24.

Shares of Microsoft were up 0.78% to $101.19 in recent trading Monday.