In the blog announcement post, Microsoft called this move inspired by the fact that customers liked the use of PowerShell for different purposes but they didn’t like that it is just available for Windows and not for Linux.“This is a new Microsoft. Satya’s leadership and Azure have shifted us to a more open, customer-centric mindset.”
Microsoft’s Jeffrey Snover writes.
There were a number of little changes that we made and two big things:
- We created a PowerShell Editor Service. This allows users to choose from a range of editors (VS Code and Sublime with others to follow) and get a great PowerShell authoring experience with Intellisense, debugging, etc.
- We will be extending the PowerShell Remoting Protocol (MS-PSRP) to use OpenSSH as a native transport. Users will have the option to use SSH or WINRM as transport.
Alpha versions of Powershell are available for CentOS, Ubuntu and for Mac OSX.
How To Install Powershell In Ubuntu 14.04 & Ubuntu 16.04?
$PSHOME is /opt/microsoft/powershell/6.0.0-alpha.9/
- User profiles will be read from ~/.config/powershell/profile.ps1
- Default profiles will be read from $PSHOME/profile.ps1
- User modules will be read from ~/.local/share/powershell/Modules
- Shared modules will be read from /usr/local/share/powershell/Modules
- Default modules will be read from $PSHOME/Modules
- PSReadLine history will be recorded to ~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt
”If Microsoft ever does applications for Linux it means I’ve won.” Linus Torvalds
”If Microsoft ever does applications for Linux it means I’ve won.”
– Linus Torvalds