Releases: PowerShell/PowerShell
v6.0.0-alpha.8 release of PowerShell
With 304 non-merge commits since v6.0.0-alpha.7, here are the major changes:
- PowerSell packages pre-compiled with CrossGen
Get-Help
content addedGet-Help
null reference exception fixed- Ubuntu 16.04 support added
- Unsupported cmdlets removed from Unix modules
- PSReadLine long prompt bug fixed
- PSReadLine custom key binding bug on Linux fixed
- Default terminal colors now respected
- Semantic Version support added
$env:
fixed for case-sensitive variables- Added JSON config files to hold some settings
cd
with no arguments now behaves ascd ~
ConvertFrom-Json
fixed for multiple lines- Windows branding removed
- .NET CoreCLR Runtime patched to version 1.0.4
Write-Host
with unknown hostname bug fixedpowershell
man-page added to packageGet-PSDrive
ported to report free space- Desired State Configuration MOF compilation ported to Linux
- Windows 2012 R2 / Windows 8.1 remoting enabled
v6.0.0-alpha.7 release of PowerShell
With 294 non-merge commits since v0.6.0, here are the major changes:
- Invoke-WebRequest and Invoke-RestMethod ported to PowerShell Core
- Set PSReadLine default edit mode to Emacs on Linux
- IsCore variable renamed to IsCoreCLR
- LocalAccounts and other Windows-only assemblies excluded on Linux
- PowerShellGet fully ported to Linux
- PackageManagement NuGet provider ported
- Write-Progress ported to Linux
- Get-Process -IncludeUserName ported
- Enumerating symlinks to folders fixed
- Bugs around administrator permissions fixed on Linux
- ConvertFrom-Json multi-line bug fixed
- Execution policies fixed on Windows
- TimeZone cmdlets added back; excluded from Linux
- FileCatalog cmdlets add back for Windows
- Get-ComputerInfo cmdlet added back for Windows
Please note that this build corresponds to v0.7.0, with the version updated to reflect the upcoming PowerShell 6.0 release.
v0.6.0 beta release of Open PowerShell
With 274 non-merge commits since v0.5.0, here are the major changes:
- Targets .NET Core 1.0 release
- PowerShellGet enabled
- [system.manage] completion issues fixed
- AssemblyLoadContext intercepts dependencies correctly
- Type catalog issues fixed
- Invoke-Item enabled for Linux and OS X
- Windows ConsoleHost reverted to native interfaces
- Portable ConsoleHost redirection issues fixed
- Bugs with pseudo (and no) TTYs fixed
- Source Depot synced to baseline changeset 717473
- SecureString stub replaced with .NET Core package
v0.5.0 beta release of Open PowerShell
With 255 non-merge commits since v0.4.0, here are the major changes:
- Paths given to cmdlets are now slash-agnostic (both / and \ work as directory separator)
- Lack of cmdlet support for paths with literal \ is a known issue
- .NET Core packages downgraded to build rc2-24027 (Nano's build)
- XDG Base Directory Specification is now respected and used by default
- Linux and OS X profile path is now
~/.config/powershell/profile.ps1
- Linux and OS X history save path is now
~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt
- Linux and OS X user module path is now
~/.local/share/powershell/Modules
- The
~/.powershell
folder is deprecated and should be deleted - Scripts can be called within PowerShell without the
.ps1
extension Trace-Command
and associated source cmdlets are now availableCtrl-C
now breaks running cmdlets correctly- Source Depot changesets up to 715912 have been merged
Set-PSBreakPoint
debugging works on Linux, but not on Windows- MSI and APPX packages for Windows are now available
- Microsoft.PowerShell.LocalAccounts is available on Windows
- Microsoft.PowerShell.Archive is available on Windows
- Linux xUnit tests are running again
- Many more Pester tests are running
v0.4.0 beta release of Open PowerShell
With 255 non-merge commits since v0.3.0, here are the major changes:
- PSReadLine is ported and included by default
- Original Windows ConsoleHost is ported and replaced CoreConsoleHost
- .NET Core packages set to the RC2 release at build 24103
- OS X 10.11 added to Continuous Integration matrix
- Third-party C# cmdlets can be built with .NET CLI
- Improved symlink support on Linux
- Microsoft.Management.Infrastructure.Native replaced with package
- Many more Pester tests
- Source Depot changesets up to 700586 merged
v0.3.0 alpha release of Open PowerShell
Supports Windows, Nano, OS X, Ubuntu 14.04, and CentOS 7.1.
See the Linux installation documentation. Please note that the installation directory has changed from the prior releases.
The Windows version is not an installer, it's simply a folder with a powershell.exe
executable.
With 304 non-merge, non-imported commits since v0.2.0, here are the
major changes:
- .NET Core packages are build rc3-24011
- Native Linux commands are not shadowed by aliases
Get-Help -Online
worksmore
function respects the Linux$PAGER
; defaults toless
IsWindows
,IsLinux
,IsOSX
,IsCore
built-in PowerShell variables addedMicrosoft.PowerShell.Platform
removed for the above- Cross-platform core host is now
CoreConsoleHost
- Host now catches exceptions in
--command
scripts - Host's shell ID changed to
Microsoft.PowerShellCore
- Modules that use C# assemblies can be loaded
New-Item -ItemType SymbolicLink
supports arbitrary targets- Readline implementation supports multi-line input
Ctrl-R
provides incremental reverse history search$Host.UI.RawUI
now supportedCtrl-K
andCtrl-Y
for kill and yank implementedCtrl-L
to clear screen now works- Documentation was completely overhauled
- Many more Pester and xUnit tests added
v0.2.0 alpha release of Open PowerShell
Supports Windows, OS X, Ubuntu 14.04, and CentOS 7.1.
Installation Instructions
Once the package is installed, powershell
will be in your path, ready to be launched from a terminal. It will read ~/.powershell/profile.ps1
for your user profile, and /usr/local/share/powershell/PSL_profile.ps1
for the system profile. Similarly, it will search ~/.powershell/Modules
and /usr/local/share/powershell/Modules
for user and system modules.
Ubuntu
Using a stock Ubuntu 14.04 image, download the powershell_0.2.0-1_amd64.deb
file, and then execute the following:
sudo apt-get install libunwind8 libicu52
sudo dpkg -i powershell_0.2.0-1_amd64.deb
CentOS
Using a stock CentOS 7.1 image, download the powershell-0.2.0-1.x86_64.rpm
file, and then execute the following:
sudo yum install powershell-0.2.0-1.x86_64.rpm
OS X
Using an OS X 10.11 machine, download the powershell-0.2.0.pkg
file, double-click it, and follow the prompts.
Major changes since v0.1.0:
- .NET Core packages are build 23907
System.Console
readline is fully functionalTests pass on OS Xpermissions issue withGet-Process | Format-Table *
testMicrosoft.PowerShell.Platform
module is availableNew-Item
supports symbolic and hard linksAdd-Type
now works- PowerShell code merged with upstream
rs1_srv_ps
Initial alpha release of Open PowerShell
Supports Windows, OS X, and Ubuntu 14.04. The Linux package includes a patched copy of CoreCLR to address a bug that's not quite made it to NuGet packages.
On OS X, install by double-clicking the .pkg
file and following the prompts.
On Ubuntu, install the dependencies with sudo apt-get install libunwind8 libicu52
, then install the .deb
file with sudo dpkg -i powershell_0.1.0-1_amd64.deb
.
A symlink to the powershell
executable will be placed in /usr/local/bin
, while PowerShell and its runtime will be placed in /usr/local/share/powershell
.
PowerShell will load modules in /usr/local/share/powershell/Modules
, and will source /usr/local/share/powershell/PSL_profile.ps1
. A user profile placed at ~/.powershell/profile.ps1
will also be sourced.
Windows packages are not yet supported.
These packages do not install OMI, so remoting is not supported.