Open-source PowerShell journeyLet'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