The past, present, and future of PowerShell and Linux

Source: Internet
Author: User

The past, present, and future of PowerShell and Linux
GuideJeffrey Snover is a technical researcher at Microsoft's enterprise cloud department. He introduced Microsoft's recent PowerShell support for the past, present, and future of Linux projects. This project embodies Nadella's "Microsoft loves Linux" topic and expands a new path for Microsoft's future development.

Today, our customers face a world where multi-platform, multi-cloud, and multi-operating systems coexist. This world brings new challenges, and users need new tools to integrate everything. Microsoft is making every effort to create such a management tool, allowing users to effectively manage anywhere, using any device, or on any platform-either Windows or Linux. Starting from customer needs and driving innovation in a more open way, this is the most exciting part of our daily work.

As Microsoft CEO Satya nadela said, "Microsoft loves Linux", this is indeed true: nearly 1/3 of Azure's virtual machines run Linux. In the Azure market, nearly 60% of third-party IaaS are open-source software (OSS ). We have a strong network of industry partners to bring more choices to users. Microsoft has released SQL Server for Linux and announced the Open Source of. NET. We have added Bash to Windows 10 to make it an ideal platform for developing open-source software. In addition, we have actively participated in many open-source projects in the industry (such as OpenSSH, FreeBSD, Mesos, Docker, and Linux) and made our own contributions.

Now, we have to take a new step. I am very happy to announce that PowerShell is open-source and supports Linux. (In short, PowerShell is a task-based command line tool and. the script language of the. NET Framework is used to help it administrators control and automate the operating system and running software. Now it supports not only Windows, but also Linux .) Next, I will introduce in detail what we have done and how Microsoft runtime Management Suite (OMS) enhances the PowerShell experience.

Open-source PowerShell journey

Let's start with a real story to learn about PowerShell's Linux and open-source Journey:

My customers are unhappy.

At the early stage of Monad (PowerShell development code) development, I presented a demonstration to an executive of a large customer. He liked it, but he was angry.
He asked me what language it used. My answer is C #. He is not happy. I am confused and ask him why. He said: "Monad is exactly what I need. I want to use it to standardize my company, but I cannot, because. NET does not support Linux !"

In the past, Microsoft's business focus meant that. NET and PowerShell could only support Windows. But today's Microsoft is different. The leadership of Satya nadela and Microsoft cloud Azure make us more open and learn to think about problems with the customer center. The following picture shows the transformation: microsoft tells PowerShell to support Linux: past, present, and future

Microsoft wants users to run all their workloads on both Linux and Windows. This new thinking allows the. NET team to port. NET Core to Linux and PowerShell to support Linux. PowerShell on Linux is designed to allow users to manage everything anywhere using the same tool and manpower. In the early stage, it will support Ubuntu, Centos, Red Hat, and Mac OS X, and more platforms will be supported in the future. Now you can download Alpha from GitHub and view the source code.
Windows and Linux users, current and future PowerShell users, and application developers can all experience the advantages of rich interactive scripting languages and heterogeneous automation and configuration management, it also supports your existing tools. Your existing PowerShell skills are now available in a wider space, and the Windows and Linux teams that have to work separately can work together happily in the future.

How is the journey going? At present, we are still in the initial and learning stages. We started to open up a small part of PowerShell and communicate with many partners who use open-source software to learn how to do so. We understand that it is important for individual users to use Git on their machines to view the source code, change the source code, compile everything, and run all tests, to verify that their changes do not damage anything. This requires a lot of investment in our engineering, development, and testing systems. We have also defined a governance model so that we have clear roles, responsibilities, and processes, so that Community contributions can be smoothly integrated into this product.

The PowerShell team has always been proud to be a very community-based team. Now we are going further to provide source code and adopt the open-source development model, so that we can more closely contact the RFC community, make contributions and accept feedback more directly. We will also expand our community because open source requires the joint efforts of the community, which is a key factor in achieving a great experience. We work with Chef, Amazon Web Services, VMware, Google, and other third-party companies to create a rich and seamless experience on platforms that everyone knows and uses.

In the process of introducing PowerShell to Linux, we must be a first-class citizen on this platform, and ensure high consistency in architecture, statements, and existing tools. This is very simple, because most of the PowerShell team members have a deep Unix background, which is also reflected in our design. We have made some minor changes, and there are two major changes:
1. We developed the PowerShell editor service. This allows you to select a wide range of Editors (VS Code, Sublime, and so on) and enjoy excellent PowerShell creation experience, including intelliisense and debugging.
2. We will extend PowerShell Remoting Protocol (MS-PSRP) and use OpenSSH for local transmission. You can use SSH or WINRM for transmission.

The first release is Alpha, which is supported by the community. In the future, we will provide open-source PowerShell official Microsoft official version for Windows or Linux/Unix users. The release time of the official Microsoft official version depends on the contribution of the community and business needs. We hope you can help us!

Extend the PowerShell experience through the Microsoft Operation Management Suite (OMS)

I also want to introduce in detail how PowerShell can extend the Running Management Suite (OMS) features in Microsoft cloud solutions. OMS allows you to understand and control Microsoft cloud Azure and other cloud applications and workloads. The combination of the two enables users to use PowerShell on Linux and Windows Server to improve their cloud experience. With the high availability and scalability of Azure cloud services, OMS Automation improves PowerShell and the expected State Configuration (DSC ). You can use a graphical interface to create and manage all PowerShell resources, including the run manual, DSC configuration, and DSC node configuration.

With OMS Hybrid Runbook Worker, you can extend the functions of OMS Automation and apply, monitor, and update configurations anywhere, including local deployment. Today, we also launched the OMS monitoring feature for Linux. By combining them, users can gain rich insights and real-time visibility into their Linux loads, and quickly solve any problems that arise.

From: http://mobile.163.com/16/0822/15/BV35RD4B00118021.html

Address: http://www.linuxprobe.com/powershell-linux.html


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.