Microsoft would like that more developers are locked in to their dotNet languages. And they try to influence the development of the next Javascript version (ES6 & ES7) by showcasing C# syntax ideas in their TypeScript language which then influenced ES6 - which is heavily used in Sharepoint/Office-Server365, Visual Studio Code/Online, etc.
Don't get me wrong, Google, Adobe, Oracle, Mozilla, Opera, etc are trying to influence the Javascript/ES6&7 development - everyone with different business cases behind them. But Microsoft is well know for what the parent poster wrote, and several newer evil things like the locked EFI on new PCs (instead of the open BIOS) that make it hard to install anything but Windows are still there, more there https://news.ycombinator.com/item?id=9459890 .
If have something popular, e.g., .NET, then make it open and promote it as a standard. Then come out with enhancements every few months.
Part of the script is what Ballmer once said in his uniquely understated way -- "Developers! Developers! Developers!"
Then initially many developers will adopt and use the standard because it's open and, thus, close to universal, at least pretty good, and free.
Then, later, as Microsoft makes improvements each few months, it will be next to impossible for anyone else to make a fork that is competitive so that Microsoft will, then, continue to own the standard. Or, if a developer wants some new feature X, then they will likely just wait for the next version of the standard and hope.
So, thusly owning the standard, Microsoft controls a major part of computing which can be very powerful for Microsoft and a farm where only Microsoft plows, seeds, and harvests.
E.g., nearly all the developers would be on .NET, etc., but Microsoft and only Microsoft knows where the .NET standard will be in version n + 1, n + 2, ... out several years into the future. Then the rest of Microsoft can start development now that exploits the standard, say, two years from now while everyone else has to wait two years even to start. Bingo. Presto. The parts of Microsoft that exploit the standard get a two year head start.
Or, maybe at one time a computer company, say, HAL, designed, manufactured, and sold hardware, operating system software, middle ware software, and applications software. Then they had hardware enhancements right along, say, each year or so.
Well, the hardware specification about had to be in the manual Principles of Operation and, thus, essentially open. So, some plug compatible manufacturer, say, GA, could get the manual and build a cheaper version of the hardware.
Well, the HAL software people knew what good, new functionality was coming to their hardware some years before GA or anyone else did and could have a head start of those years. One heck of an advantage.
Net, thusly owning an open standard can be very valuable.