diff --git a/.github/Images/GitHub-PR.png b/.github/Images/GitHub-PR.png index 0f26edbc38..80bb77e483 100644 Binary files a/.github/Images/GitHub-PR.png and b/.github/Images/GitHub-PR.png differ diff --git a/.spelling b/.spelling index b27fae19de..201230cab6 100644 --- a/.spelling +++ b/.spelling @@ -381,6 +381,8 @@ WindowsVersion WSManCredSSP XPath Youtube +stuntguy3000 +SwarfegaGit #endregion #region CODE_OF_CONDUCT.md Overrides diff --git a/CHANGELOG.md b/CHANGELOG.md index 924f1f44cd..c29ac937ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## v6.0.0 - 2018-01-10 + +### Breaking changes + +- Remove `sc` alias which conflicts with `sc.exe` (#5827) +- Separate group policy settings and enable policy controlled logging in PowerShell Core (#5791) + +### Engine updates and fixes + +- Handle `DLLImport` failure of `libpsrpclient` in PowerShell Remoting on Unix platforms (#5622) + +### Test + +- Replace `lee.io` Tests with `WebListener` (#5709) (Thanks @markekraus!) +- Update the docker based release package tests due to the removal of `Pester` module and other issues (#5692) +- Replace Remaining `HttpBin.org` Tests with `WebListener` (#5665) (Thanks @markekraus!) + +### Build and Packaging Improvements + +- Update x86 and x64 `MSI` packages to not overwrite each other (#5812) (Thanks @bergmeister!) +- Update `Restore-PSPester` to include the fix for nested describe errors (#5771) +- Automate the generation of release change log draft (#5712) + +### Documentation and Help Content + +- Updated help Uri to point to latest help content for `Microsoft.PowerShell.Core` module (#5820) +- Update the installation doc for `Raspberry-Pi` about supported devices (#5773) +- Fix a typo and a Markdown linting error in the Pull Request Template (#5807) (Thanks @markekraus!) +- Update submodule documentation for pester removal (#5786) (Thanks @bergmeister!) +- Change `Github` to `GitHub` in `CONTRIBUTING.md` (#5697) (Thanks @stuntguy3000!) +- Fix incorrect release date on the changelog (#5698) (Thanks @SwarfegaGit!) +- Add instructions to deploy `win-arm` build on Windows IoT (#5682) + ## v6.0.0-rc.2 - 2017-12-14 ### Breaking changes diff --git a/README.md b/README.md index 04fe7da2b6..01b3e5e415 100644 --- a/README.md +++ b/README.md @@ -60,23 +60,23 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu | Windows (arm) **Experimental** | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [Instructions][in-windows-zip] | | Raspbian (Stretch) **Experimental** | [.tgz][rl-raspbian] | [Instructions][in-raspbian] | -[rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi -[rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.msi -[rl-ubuntu17]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb -[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb -[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb -[rl-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.8_amd64.deb -[rl-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.9_amd64.deb -[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm -[rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-x86_64.AppImage -[rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx.10.12-x64.pkg -[rl-winarm]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-arm32.zip -[rl-winarm64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-arm64.zip -[rl-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x86.zip -[rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.zip -[rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx-x64.tar.gz -[rl-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-x64.tar.gz -[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-arm32.tar.gz +[rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-win-x64.msi +[rl-windows-86]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-win-x86.msi +[rl-ubuntu17]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell_6.0.0-1.ubuntu.17.04_amd64.deb +[rl-ubuntu16]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell_6.0.0-1.ubuntu.16.04_amd64.deb +[rl-ubuntu14]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell_6.0.0-1.ubuntu.14.04_amd64.deb +[rl-debian8]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell_6.0.0-1.debian.8_amd64.deb +[rl-debian9]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell_6.0.0-1.debian.9_amd64.deb +[rl-centos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-1.rhel.7.x86_64.rpm +[rl-ai]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-x86_64.AppImage +[rl-macos]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-osx.10.12-x64.pkg +[rl-winarm]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-win-arm32.zip +[rl-winarm64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-win-arm64.zip +[rl-winx86-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-win-x86.zip +[rl-winx64-zip]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-win-x64.zip +[rl-macos-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-osx-x64.tar.gz +[rl-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-linux-x64.tar.gz +[rl-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-linux-arm32.tar.gz [installation]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation [in-windows]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#msi diff --git a/docker/community/amazonlinux/Dockerfile b/docker/community/amazonlinux/Dockerfile index 0f01e8837a..c24aa4065a 100644 --- a/docker/community/amazonlinux/Dockerfile +++ b/docker/community/amazonlinux/Dockerfile @@ -2,8 +2,8 @@ FROM amazonlinux:latest -ARG POWERSHELL_VERSION=6.0.0-rc.2 -ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz +ARG POWERSHELL_VERSION=6.0.0 +ARG POWERSHELL_PACKAGE=powershell-6.0.0-linux-x64.tar.gz ARG IMAGE_NAME=microsoft/powershell:amazonlinux LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/centos7/Dockerfile b/docker/release/centos7/Dockerfile index fe5333e764..e9d23065c6 100644 --- a/docker/release/centos7/Dockerfile +++ b/docker/release/centos7/Dockerfile @@ -2,7 +2,7 @@ FROM centos:7 -ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_VERSION=6.0.0 ARG IMAGE_NAME=microsoft/powershell:centos7 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/fedora25/Dockerfile b/docker/release/fedora25/Dockerfile index 8bc5f4ddc9..0d0201216f 100644 --- a/docker/release/fedora25/Dockerfile +++ b/docker/release/fedora25/Dockerfile @@ -2,7 +2,7 @@ FROM fedora:25 -ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_VERSION=6.0.0 ARG IMAGE_NAME=microsoft/powershell:fedora25 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/fedora26/Dockerfile b/docker/release/fedora26/Dockerfile index 3b3ddeb766..f9c7c37838 100644 --- a/docker/release/fedora26/Dockerfile +++ b/docker/release/fedora26/Dockerfile @@ -2,7 +2,7 @@ FROM fedora:26 -ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_VERSION=6.0.0 ARG IMAGE_NAME=microsoft/powershell:fedora26 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/nanoserver/Dockerfile b/docker/release/nanoserver/Dockerfile index 186a6b486d..40733974d4 100755 --- a/docker/release/nanoserver/Dockerfile +++ b/docker/release/nanoserver/Dockerfile @@ -10,7 +10,7 @@ ARG NanoServerRepo=microsoft/nanoserver FROM ${WindowsServerCoreRepo}:$WindowsServerCoreVersion AS installer-env # Arguments for installing powershell, must be defined in the container they are used -ARG PS_VERSION=6.0.0-rc.2 +ARG PS_VERSION=6.0.0 ENV PS_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$PS_VERSION/PowerShell-$PS_VERSION-win-x64.zip @@ -25,7 +25,7 @@ RUN Expand-Archive powershell.zip -DestinationPath \PowerShell FROM ${NanoServerRepo}:$NanoServerVersion ARG VCS_REF="none" -ARG PS_VERSION=6.0.0-rc.2 +ARG PS_VERSION=6.0.0 ARG IMAGE_NAME=microsoft/powershell LABEL maintainer="PowerShell Team " ` diff --git a/docker/release/opensuse42.2/Dockerfile b/docker/release/opensuse42.2/Dockerfile index cbb8fea87c..a1e075eeee 100644 --- a/docker/release/opensuse42.2/Dockerfile +++ b/docker/release/opensuse42.2/Dockerfile @@ -2,8 +2,8 @@ FROM opensuse:42.2 -ARG POWERSHELL_VERSION=6.0.0-rc.2 -ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz +ARG POWERSHELL_VERSION=6.0.0 +ARG POWERSHELL_PACKAGE=powershell-6.0.0-linux-x64.tar.gz ARG IMAGE_NAME=microsoft/powershell:opensuse42.2 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/ubuntu14.04/Dockerfile b/docker/release/ubuntu14.04/Dockerfile index 6a7da8388f..7fe2b2bdd8 100644 --- a/docker/release/ubuntu14.04/Dockerfile +++ b/docker/release/ubuntu14.04/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:trusty -ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_VERSION=6.0.0 ARG IMAGE_NAME=microsoft/powershell:ubuntu14.04 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/ubuntu16.04/Dockerfile b/docker/release/ubuntu16.04/Dockerfile index e38b62fca8..352799b11b 100644 --- a/docker/release/ubuntu16.04/Dockerfile +++ b/docker/release/ubuntu16.04/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:xenial -ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_VERSION=6.0.0 ARG IMAGE_NAME=microsoft/powershell:ubuntu16.04 LABEL maintainer="PowerShell Team " \ diff --git a/docker/release/windowsservercore/Dockerfile b/docker/release/windowsservercore/Dockerfile index 5a90668dbe..e5df2cc24c 100644 --- a/docker/release/windowsservercore/Dockerfile +++ b/docker/release/windowsservercore/Dockerfile @@ -1,8 +1,8 @@ # escape=` FROM microsoft/windowsservercore:latest -ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi -ARG POWERSHELL_VERSION=6.0.0-rc.2 +ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/PowerShell-6.0.0-win-x64.msi +ARG POWERSHELL_VERSION=6.0.0 ARG IMAGE_NAME=microsoft/powershell:windowsservercore LABEL maintainer="PowerShell Team " ` diff --git a/docker/tests/container.tests.ps1 b/docker/tests/container.tests.ps1 index 456968e7dc..cf6a6cd485 100644 --- a/docker/tests/container.tests.ps1 +++ b/docker/tests/container.tests.ps1 @@ -73,7 +73,7 @@ Describe "Linux Containers run PowerShell" -Tags 'Behavior', 'Linux' { $path ) - Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2' + Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0' } } @@ -97,6 +97,6 @@ Describe "Windows Containers run PowerShell" -Tags 'Behavior', 'Windows' { $path ) - Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2' + Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0' } } diff --git a/docker/tests/containerTestCommon.psm1 b/docker/tests/containerTestCommon.psm1 index 7ce251166d..84c0fa1ee0 100644 --- a/docker/tests/containerTestCommon.psm1 +++ b/docker/tests/containerTestCommon.psm1 @@ -222,7 +222,7 @@ function Test-PSPackage [Parameter(Mandatory=$true)] $PSPackageLocation, # e.g. Azure storage [string] - $PSVersion = "6.0.0-rc.2", + $PSVersion = "6.0.0", [string] $TestList = "/PowerShell/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1,/PowerShell/test/powershell/engine/Module" ) diff --git a/docs/installation/linux.md b/docs/installation/linux.md index 989c5f553a..e23895ca94 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -57,13 +57,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Ubuntu 14.04 Download the Debian package -`powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb` +`powershell_6.0.0-1.ubuntu.14.04_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc.2-1.ubuntu.14.04_amd64.deb +sudo dpkg -i powershell_6.0.0-1.ubuntu.14.04_amd64.deb sudo apt-get install -f ``` @@ -107,13 +107,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Ubuntu 16.04 Download the Debian package -`powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb` +`powershell_6.0.0-1.ubuntu.16.04_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb +sudo dpkg -i powershell_6.0.0-1.ubuntu.16.04_amd64.deb sudo apt-get install -f ``` @@ -157,13 +157,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Ubuntu 17.04 Download the Debian package -`powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb` +`powershell_6.0.0-1.ubuntu.17.04_amd64.deb` from the [releases][] page onto the Ubuntu machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc.2-1.ubuntu.17.04_amd64.deb +sudo dpkg -i powershell_6.0.0-1.ubuntu.17.04_amd64.deb sudo apt-get install -f ``` @@ -211,13 +211,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Debian 8 Download the Debian package -`powershell_6.0.0-rc.2-1.debian.8_amd64.deb` +`powershell_6.0.0-1.debian.8_amd64.deb` from the [releases][] page onto the Debian machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc.2-1.debian.8_amd64.deb +sudo dpkg -i powershell_6.0.0-1.debian.8_amd64.deb sudo apt-get install -f ``` @@ -265,13 +265,13 @@ from then on, you just need to use `sudo apt-get upgrade powershell` to update i ### Installation via Direct Download - Debian 9 Download the Debian package -`powershell_6.0.0-rc.2-1.debian.9_amd64.deb` +`powershell_6.0.0-1.debian.9_amd64.deb` from the [releases][] page onto the Debian machine. Then execute the following in the terminal: ```sh -sudo dpkg -i powershell_6.0.0-rc.2-1.debian.9_amd64.deb +sudo dpkg -i powershell_6.0.0-1.debian.9_amd64.deb sudo apt-get install -f ``` @@ -310,19 +310,19 @@ you just need to use `sudo yum update powershell` to update PowerShell. ### Installation via Direct Download - CentOS 7 Using [CentOS 7][], download the RPM package -`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` +`powershell-6.0.0-1.rhel.7.x86_64.rpm` from the [releases][] page onto the CentOS machine. Then execute the following in the terminal: ```sh -sudo yum install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo yum install powershell-6.0.0-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-1.rhel.7.x86_64.rpm ``` ### Uninstallation - CentOS 7 @@ -356,19 +356,19 @@ you just need to use `sudo yum update powershell` to update PowerShell. ### Installation via Direct Download - Red Hat Enterprise Linux (RHEL) 7 Download the RPM package -`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` +`powershell-6.0.0-1.rhel.7.x86_64.rpm` from the [releases][] page onto the Red Hat Enterprise Linux machine. Then execute the following in the terminal: ```sh -sudo yum install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo yum install powershell-6.0.0-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Red Hat Enterprise Linux (RHEL) 7 @@ -407,19 +407,19 @@ pwsh ### Installation via Direct Download - OpenSUSE 42.2 -Download the RPM package `powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` +Download the RPM package `powershell-6.0.0-1.rhel.7.x86_64.rpm` from the [releases][] page onto the OpenSUSE machine. ```sh sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo zypper install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo zypper install powershell-6.0.0-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc -sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo zypper install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-1.rhel.7.x86_64.rpm ``` ### Uninstallation - OpenSUSE 42.2 @@ -454,19 +454,19 @@ pwsh ### Installation via Direct Download - Fedora 25 Download the RPM package -`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` +`powershell-6.0.0-1.rhel.7.x86_64.rpm` from the [releases][] page onto the Fedora machine. Then execute the following in the terminal: ```sh -sudo dnf install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo dnf install powershell-6.0.0-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: ```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Fedora 25 @@ -504,7 +504,7 @@ pwsh ### Installation via Direct Download - Fedora 26 Download the RPM package -`powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm` +`powershell-6.0.0-1.rhel.7.x86_64.rpm` from the [releases][] page onto the Fedora machine. Then execute the following in the terminal: @@ -512,7 +512,7 @@ Then execute the following in the terminal: ```sh sudo dnf update sudo dnf install compat-openssl10 -sudo dnf install powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo dnf install powershell-6.0.0-1.rhel.7.x86_64.rpm ``` You can also install the RPM without the intermediate step of downloading it: @@ -520,7 +520,7 @@ You can also install the RPM without the intermediate step of downloading it: ```sh sudo dnf update sudo dnf install compat-openssl10 -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0_rc.2-1.rhel.7.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-1.rhel.7.x86_64.rpm ``` ### Uninstallation - Fedora 26 @@ -549,14 +549,14 @@ For more information on installing packages from the AUR, see the [Arch Linux wi ## Linux AppImage Using a recent Linux distribution, -download the AppImage `powershell-6.0.0-rc.2-x86_64.AppImage` +download the AppImage `powershell-6.0.0-x86_64.AppImage` from the [releases][] page onto the Linux machine. Then execute the following in the terminal: ```bash -chmod a+x powershell-6.0.0-rc.2-x86_64.AppImage -./powershell-6.0.0-rc.2-x86_64.AppImage +chmod a+x powershell-6.0.0-x86_64.AppImage +./powershell-6.0.0-x86_64.AppImage ``` The [AppImage][] lets you run PowerShell without installing it. @@ -578,7 +578,7 @@ wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libs dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb # Install PowerShell -dpkg -i powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb +dpkg -i powershell_6.0.0-1.ubuntu.16.04_amd64.deb # Start PowerShell pwsh @@ -588,19 +588,19 @@ pwsh ```sh # Grab the latest App Image -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-x86_64.AppImage +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-x86_64.AppImage # Make executable -chmod a+x powershell-6.0.0-rc.2-x86_64.AppImage +chmod a+x powershell-6.0.0-x86_64.AppImage # Start PowerShell -./powershell-6.0.0-rc.2-x86_64.AppImage +./powershell-6.0.0-x86_64.AppImage ``` ### Uninstallation - Kali ```sh -dpkg -r powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb +dpkg -r powershell_6.0.0-1.ubuntu.16.04_amd64.deb ``` ## Raspbian @@ -618,13 +618,13 @@ Download [Raspbian Stretch](https://www.raspberrypi.org/downloads/raspbian/) and sudo apt-get install libunwind8 # Grab the latest tar.gz -wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-arm32.tar.gz +wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-linux-arm32.tar.gz # Make folder to put powershell mkdir ~/powershell # Unpack the tar.gz file -tar -xvf ./powershell-6.0.0-rc.2-linux-arm32.tar.gz -C ~/powershell +tar -xvf ./powershell-6.0.0-linux-arm32.tar.gz -C ~/powershell # Start PowerShell ~/powershell/pwsh @@ -671,19 +671,19 @@ and then extracts the Linux `tar.gz` archive. ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-linux-x64.tar.gz # Create the target folder where powershell will be placed -sudo mkdir -p /opt/microsoft/powershell/6.0.0-rc.2 +sudo mkdir -p /opt/microsoft/powershell/6.0.0 # Expand powershell to the target folder -sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/6.0.0-rc.2 +sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/6.0.0 # Set execute permissions -sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh +sudo chmod +x /usr/local/microsoft/powershell/6.0.0/pwsh # Create the symbolic link that points to pwsh -sudo ln -s /opt/microsoft/powershell/6.0.0-rc.2/pwsh /usr/bin/pwsh +sudo ln -s /opt/microsoft/powershell/6.0.0/pwsh /usr/bin/pwsh ``` ### Uninstallation - Binary Archives @@ -694,7 +694,7 @@ sudo rm -rf /usr/bin/pwsh /opt/microsoft/powershell ## Paths -* `$PSHOME` is `/opt/microsoft/powershell/6.0.0-rc.2/` +* `$PSHOME` is `/opt/microsoft/powershell/6.0.0/` * 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` @@ -709,7 +709,7 @@ On Linux and macOS, the [XDG Base Directory Specification][xdg-bds] is respected Note that because macOS is a derivation of BSD, instead of `/opt`, the prefix used is `/usr/local`. -Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0-rc.2/`, +Thus, `$PSHOME` is `/usr/local/microsoft/powershell/6.0.0/`, and the symlink is placed at `/usr/local/bin/pwsh`. [releases]: https://github.com/PowerShell/PowerShell/releases/latest diff --git a/docs/installation/macos.md b/docs/installation/macos.md index b8c1c1ad1b..507a153694 100644 --- a/docs/installation/macos.md +++ b/docs/installation/macos.md @@ -37,33 +37,33 @@ brew cask reinstall powershell ### Installation via Direct Download Using macOS 10.12+, download the PKG package -`powershell-6.0.0-rc.2-osx.10.12-x64.pkg` +`powershell-6.0.0-osx.10.12-x64.pkg` from the [releases][] page onto the macOS machine. Either double-click the file and follow the prompts, or install it from the terminal: ```sh -sudo installer -pkg powershell-6.0.0-rc.2-osx.10.12-x64.pkg -target / +sudo installer -pkg powershell-6.0.0-osx.10.12-x64.pkg -target / ``` ### Installation via Binary Archive ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell-6.0.0-rc.2-osx-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.0.0/powershell-6.0.0-osx-x64.tar.gz # Create the target folder where powershell will be placed -sudo mkdir -p /usr/local/microsoft/powershell/6.0.0-rc.2 +sudo mkdir -p /usr/local/microsoft/powershell/6.0.0 # Expand powershell to the target folder -sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell/6.0.0-rc.2 +sudo tar zxf /tmp/powershell.tar.gz -C /usr/local/microsoft/powershell/6.0.0 # Set execute permissions -sudo chmod +x /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh +sudo chmod +x /usr/local/microsoft/powershell/6.0.0/pwsh # Create the symbolic link that points to pwsh -sudo ln -s /usr/local/microsoft/powershell/6.0.0-rc.2/pwsh /usr/local/bin/pwsh +sudo ln -s /usr/local/microsoft/powershell/6.0.0/pwsh /usr/local/bin/pwsh ``` ### Uninstallation diff --git a/docs/installation/windows.md b/docs/installation/windows.md index 3d1dc891f0..eadf5c8536 100644 --- a/docs/installation/windows.md +++ b/docs/installation/windows.md @@ -45,7 +45,7 @@ $s = New-PSSession -ComputerName -Credential Administrator ```powershell # change the destination to however you had partitioned it with sufficient space for the zip and the unzipped contents # the path should be local to the device -Copy-Item .\PowerShell-6.0.0-rc.2-win-arm32.zip -Destination u:\users\administrator\Downloads -ToSession $s +Copy-Item .\PowerShell-6.0.0-win-arm32.zip -Destination u:\users\administrator\Downloads -ToSession $s ``` * Connect to the device and expand the archive @@ -53,13 +53,13 @@ Copy-Item .\PowerShell-6.0.0-rc.2-win-arm32.zip -Destination u:\users\administra ```powershell Enter-PSSession $s cd u:\users\administrator\downloads -Expand-Archive .\PowerShell-6.0.0-rc.2-win-arm32.zip +Expand-Archive .\PowerShell-6.0.0-win-arm32.zip ``` * Setup remoting to PowerShell Core 6 ```powershell -cd .\PowerShell-6.0.0-rc.2-win-arm32 +cd .\PowerShell-6.0.0-win-arm32 # Be sure to use the -PowerShellHome parameter otherwise it'll try to create a new endpoint with Windows PowerShell 5.1 .\Install-PowerShellRemoting.ps1 -PowerShellHome . # You'll get an error message and will be disconnected from the device because it has to restart WinRM @@ -69,7 +69,7 @@ cd .\PowerShell-6.0.0-rc.2-win-arm32 ```powershell # Be sure to use the -Configuration parameter. If you omit it, you will connect to Windows PowerShell 5.1 -Enter-PSSession -ComputerName -Credential Administrator -Configuration powershell.6.0.0-rc.2 +Enter-PSSession -ComputerName -Credential Administrator -Configuration powershell.6.0.0 ``` ## Deploying on Nano Server diff --git a/tools/metadata.json b/tools/metadata.json index 3bdae05151..01d479fbdd 100644 --- a/tools/metadata.json +++ b/tools/metadata.json @@ -1,4 +1,4 @@ { - "ReleaseTag": "v6.0.0-rc.2", + "ReleaseTag": "v6.0.0", "NextReleaseTag": "v6.1.0-preview.1" }