From 2f757ea88f7b7dda3118c0bb0d57a034dad3c4b5 Mon Sep 17 00:00:00 2001 From: Matt Gucci Date: Sun, 7 Nov 2021 01:43:01 +0900 Subject: [PATCH 1/2] Remove duplicates: Container Provider sample (#8313) --- ...a-windows-powershell-container-provider.md | 106 ------------------ 1 file changed, 106 deletions(-) diff --git a/reference/docs-conceptual/developer/prog-guide/creating-a-windows-powershell-container-provider.md b/reference/docs-conceptual/developer/prog-guide/creating-a-windows-powershell-container-provider.md index a9b9001313e7..546b06425f54 100644 --- a/reference/docs-conceptual/developer/prog-guide/creating-a-windows-powershell-container-provider.md +++ b/reference/docs-conceptual/developer/prog-guide/creating-a-windows-powershell-container-provider.md @@ -41,11 +41,6 @@ A Windows PowerShell container provider must define a .NET class that derives fr base class. Here is the class definition for the Windows PowerShell container provider described in this section. -```csharp -[CmdletProvider("AccessDB", ProviderCapabilities.None)] -public class AccessDBProvider : ContainerCmdletProvider -``` - :::code language="csharp" source="~/../powershell-sdk-samples/SDK-2.0/csharp/AccessDBProviderSample04/AccessDBProviderSample04.cs" range="34-35"::: Notice that in this class definition, the @@ -96,61 +91,6 @@ method for this provider. Notice that this method retrieves the child items in a when the path indicates the Access database, and retrieves the child items from the rows of that table if the path indicates a data table. -```csharp -protected override void GetChildItems(string path, bool recurse) -{ - // If path represented is a drive then the children in the path are - // tables. Hence all tables in the drive represented will have to be - // returned - if (PathIsDrive(path)) - { - foreach (DatabaseTableInfo table in GetTables()) - { - WriteItemObject(table, path, true); - - // if the specified item exists and recurse has been set then - // all child items within it have to be obtained as well - if (ItemExists(path) && recurse) - { - GetChildItems(path + pathSeparator + table.Name, recurse); - } - } // foreach (DatabaseTableInfo... - } // if (PathIsDrive... - else - { - // Get the table name, row number and type of path from the - // path specified - string tableName; - int rowNumber; - - PathType type = GetNamesFromPath(path, out tableName, out rowNumber); - - if (type == PathType.Table) - { - // Obtain all the rows within the table - foreach (DatabaseRowInfo row in GetRows(tableName)) - { - WriteItemObject(row, path + pathSeparator + row.RowNumber, - false); - } // foreach (DatabaseRowInfo... - } - else if (type == PathType.Row) - { - // In this case the user has directly specified a row, hence - // just give that particular row - DatabaseRowInfo row = GetRow(tableName, rowNumber); - WriteItemObject(row, path + pathSeparator + row.RowNumber, - false); - } - else - { - // In this case, the path specified is not valid - ThrowTerminatingInvalidPathException(path); - } - } // else -} // GetChildItems -``` - :::code language="csharp" source="~/../powershell-sdk-samples/SDK-2.0/csharp/AccessDBProviderSample04/AccessDBProviderSample04.cs" range="311-362"::: #### Things to Remember About Implementing GetChildItems @@ -222,52 +162,6 @@ Here is the implementation of the method for this provider. Notice that the method retrieves table names if the specified path indicates the Access database (drive) and row numbers if the path indicates a table. -```csharp -protected override void GetChildNames(string path, - ReturnContainers returnContainers) -{ - // If the path represented is a drive, then the child items are - // tables. get the names of all the tables in the drive. - if (PathIsDrive(path)) - { - foreach (DatabaseTableInfo table in GetTables()) - { - WriteItemObject(table.Name, path, true); - } // foreach (DatabaseTableInfo... - } // if (PathIsDrive... - else - { - // Get type, table name and row number from path specified - string tableName; - int rowNumber; - - PathType type = GetNamesFromPath(path, out tableName, out rowNumber); - - if (type == PathType.Table) - { - // Get all the rows in the table and then write out the - // row numbers. - foreach (DatabaseRowInfo row in GetRows(tableName)) - { - WriteItemObject(row.RowNumber, path, false); - } // foreach (DatabaseRowInfo... - } - else if (type == PathType.Row) - { - // In this case the user has directly specified a row, hence - // just give that particular row - DatabaseRowInfo row = GetRow(tableName, rowNumber); - - WriteItemObject(row.RowNumber, path, false); - } - else - { - ThrowTerminatingInvalidPathException(path); - } - } // else -} // GetChildNames -``` - :::code language="csharp" source="~/../powershell-sdk-samples/SDK-2.0/csharp/AccessDBProviderSample04/AccessDBProviderSample04.cs" range="369-411"::: #### Things to Remember About Implementing GetChildNames From 25c256b66e8de433129c3460424115bcac802d7d Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 8 Nov 2021 10:45:28 -0600 Subject: [PATCH 2/2] 7.2 GA updates (#8315) * 7.2 GA updates * Update filenames for release --- .github/ISSUE_TEMPLATE/Documentation_Issue.md | 1 + .github/PULL_REQUEST_TEMPLATE.md | 1 + README.md | 2 +- .../About/about_Redirection.md | 2 +- .../About/about_PowerShell_Config.md | 2 +- .../About/about_Redirection.md | 2 +- .../About/about_Redirection.md | 2 +- .../create-standard-library-binary-Module.md | 4 +- .../dsc/pull-server/pullServer.md | 8 +-- .../dsc/pull-server/secureServer.md | 6 +- .../install/Installing-PowerShell-on-Linux.md | 9 +-- .../Installing-PowerShell-on-Windows.md | 55 ++++++++++--------- .../install/Installing-PowerShell-on-macOS.md | 23 ++++---- .../install/PowerShell-Support-Lifecycle.md | 18 +++--- .../docs-conceptual/install/install-alpine.md | 12 ++-- .../docs-conceptual/install/install-centos.md | 14 ++--- .../docs-conceptual/install/install-debian.md | 4 +- .../docs-conceptual/install/install-fedora.md | 12 ++-- .../install/install-other-linux.md | 10 ++-- .../install/install-raspbian.md | 8 +-- .../docs-conceptual/install/install-rhel.md | 10 ++-- .../docs-conceptual/install/install-ubuntu.md | 8 +-- .../learn/experimental-features.md | 2 +- .../whats-new/cmdlet-versions.md | 2 +- .../Starting-Windows-PowerShell.md | 10 ++-- reference/includes/alpine-support.md | 20 +++---- reference/includes/debian-support.md | 14 ++--- reference/includes/macos-support.md | 24 ++++---- reference/includes/rhel-support.md | 16 +++--- reference/includes/ubuntu-support.md | 14 ++--- reference/includes/windows-support.md | 26 ++++----- 31 files changed, 169 insertions(+), 172 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/Documentation_Issue.md b/.github/ISSUE_TEMPLATE/Documentation_Issue.md index be7da54f2653..2a1ccd3921f3 100644 --- a/.github/ISSUE_TEMPLATE/Documentation_Issue.md +++ b/.github/ISSUE_TEMPLATE/Documentation_Issue.md @@ -36,6 +36,7 @@ Be sure to change the issue title. Titles should be brief and meaningful. **Cmdlet reference & about_ topics** - [ ] Preview content +- [ ] Version 7.2 content - [ ] Version 7.1 content - [ ] Version 7.0 content - [ ] Version 5.1 content diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3a88f49c5203..35cd9bd4819b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -29,6 +29,7 @@ Select the area of the Table of Contents containing the documents being changed. **Cmdlet reference & about_ topics** - [ ] Preview content +- [ ] Version 7.2 content - [ ] Version 7.1 content - [ ] Version 7.0 content - [ ] Version 5.1 content diff --git a/README.md b/README.md index 2a4ecf55a0e7..491aeda39a96 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The following list describes the main folders in this repository. - `5.1` - contains the cmdlet reference and about topics for PowerShell 5.1 - `7.0` - contains the cmdlet reference and about topics for PowerShell 7.0 - `7.1` - contains the cmdlet reference and about topics for PowerShell 7.1 - - `7.2` - contains the cmdlet reference and about topics for PowerShell 7.2 (preview) + - `7.2` - contains the cmdlet reference and about topics for PowerShell 7.2 - `bread` - contains the TOC used for breadcrumb navigation - `docs-conceptual` - contains the conceptual articles that are published to the Docs site. In general, the folder structure mirrors the Table of Contents (TOC). diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Redirection.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Redirection.md index f76423bfeace..85a13d11361b 100644 --- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Redirection.md +++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Redirection.md @@ -232,7 +232,7 @@ truncated to 80 characters: ```Output Name Value ---- ----- -Path C:\Program Files\PowerShell\7-preview;C:\WINDOWS… +Path C:\Program Files\PowerShell\7;C:\WINDOWS… ``` Considering that the console width may be set arbitrarily on systems where diff --git a/reference/7.0/Microsoft.PowerShell.Core/About/about_PowerShell_Config.md b/reference/7.0/Microsoft.PowerShell.Core/About/about_PowerShell_Config.md index 20d0a63789fb..b428ad145b22 100644 --- a/reference/7.0/Microsoft.PowerShell.Core/About/about_PowerShell_Config.md +++ b/reference/7.0/Microsoft.PowerShell.Core/About/about_PowerShell_Config.md @@ -220,7 +220,7 @@ Where: > You may want to have different **LogIdentity** values for each different > instance of PowerShell you have installed. -In this example, we are configuring the **LogIdentity** for a preview release +In this example, we are configuring the **LogIdentity** for a release of PowerShell. ```json diff --git a/reference/7.0/Microsoft.PowerShell.Core/About/about_Redirection.md b/reference/7.0/Microsoft.PowerShell.Core/About/about_Redirection.md index c54923c575e7..c036aea858c2 100644 --- a/reference/7.0/Microsoft.PowerShell.Core/About/about_Redirection.md +++ b/reference/7.0/Microsoft.PowerShell.Core/About/about_Redirection.md @@ -232,7 +232,7 @@ truncated to 80 characters: ```Output Name Value ---- ----- -Path C:\Program Files\PowerShell\7-preview;C:\WINDOWS… +Path C:\Program Files\PowerShell\7;C:\WINDOWS… ``` Considering that the console width may be set arbitrarily on systems where diff --git a/reference/7.2/Microsoft.PowerShell.Core/About/about_Redirection.md b/reference/7.2/Microsoft.PowerShell.Core/About/about_Redirection.md index 85162caaddd3..8476d1f521e2 100644 --- a/reference/7.2/Microsoft.PowerShell.Core/About/about_Redirection.md +++ b/reference/7.2/Microsoft.PowerShell.Core/About/about_Redirection.md @@ -232,7 +232,7 @@ truncated to 80 characters: ```Output Name Value ---- ----- -Path C:\Program Files\PowerShell\7-preview;C:\WINDOWS… +Path C:\Program Files\PowerShell\7;C:\WINDOWS… ``` Considering that the console width may be set arbitrarily on systems where diff --git a/reference/docs-conceptual/dev-cross-plat/create-standard-library-binary-Module.md b/reference/docs-conceptual/dev-cross-plat/create-standard-library-binary-Module.md index 0b7e45bbc69f..36fe0ddacd65 100644 --- a/reference/docs-conceptual/dev-cross-plat/create-standard-library-binary-Module.md +++ b/reference/docs-conceptual/dev-cross-plat/create-standard-library-binary-Module.md @@ -1,7 +1,7 @@ --- description: The PowerShell Standard Library allows us to create cross platform modules that work in both PowerShell and with Windows PowerShell 5.1. ms.custom: contributor-KevinMarquette -ms.date: 10/22/2021 +ms.date: 11/08/2021 title: How to create a Standard Library Binary Module --- # How to create a Standard Library binary module @@ -110,7 +110,7 @@ most recent version available for the level of compatibility that you need. I wo latest version but I don't think this module leverages any features newer than PowerShell 3.0. ```powershell -dotnet add package PowerShellStandard.Library --version 7.0.0-preview.1 +dotnet add package PowerShellStandard.Library --version 7.2.0 ``` We should have a src folder that looks like this: diff --git a/reference/docs-conceptual/dsc/pull-server/pullServer.md b/reference/docs-conceptual/dsc/pull-server/pullServer.md index 68d20a1e1c57..a76ace2b3362 100644 --- a/reference/docs-conceptual/dsc/pull-server/pullServer.md +++ b/reference/docs-conceptual/dsc/pull-server/pullServer.md @@ -1,6 +1,6 @@ --- description: Local Configuration Manager (LCM) can be centrally managed by a Pull Service solution. When using this approach, the node that is being managed is registered with a service and assigned a configuration in LCM settings. -ms.date: 11/01/2021 +ms.date: 11/08/2021 title: DSC Pull Service --- @@ -87,9 +87,9 @@ example script is provided below. ### Supported database systems -| WMF 4.0 | WMF 5.0 | WMF 5.1 | WMF 5.1 (Windows Server Insider Preview 17090) | -| ------- | -------------------- | -------------------- | ---------------------------------------------- | -| MDB | ESENT (Default), MDB | ESENT (Default), MDB | ESENT (Default), SQL Server, MDB | +| WMF 4.0 | WMF 5.0 | WMF 5.1 | WMF 5.1 | +| ------- | -------------------- | -------------------- | -------------------------------- | +| MDB | ESENT (Default), MDB | ESENT (Default), MDB | ESENT (Default), SQL Server, MDB | Starting in release 17090 of Windows Server, SQL Server is a supported option for the Pull Service (Windows Feature *DSC-Service*). This provides a new option for scaling large DSC environments that diff --git a/reference/docs-conceptual/dsc/pull-server/secureServer.md b/reference/docs-conceptual/dsc/pull-server/secureServer.md index f663669901ba..b696c3e78266 100644 --- a/reference/docs-conceptual/dsc/pull-server/secureServer.md +++ b/reference/docs-conceptual/dsc/pull-server/secureServer.md @@ -1,6 +1,6 @@ --- description: This document provide best practices to assist engineers that are deploying the DSC Pull Server. -ms.date: 06/12/2017 +ms.date: 11/08/2021 title: Pull server best practices --- # Pull server best practices @@ -111,8 +111,8 @@ ready to be used in a production environment even while WMF is released in previ that have historically been updated by WMF releases (see the WMF Release Notes for further detail): - Windows PowerShell Windows PowerShell Integrated Scripting -- Environment (ISE) Windows PowerShell Web Services (Management OData -- IIS Extension) Windows PowerShell Desired State Configuration (DSC) +- Environment (ISE) Windows PowerShell Web Services (Management OData IIS Extension) +- Windows PowerShell Desired State Configuration (DSC) - Windows Remote Management (WinRM) Windows Management Instrumentation (WMI) ### DSC resource diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-Linux.md b/reference/docs-conceptual/install/Installing-PowerShell-on-Linux.md index 37daad2bb273..4e15a9ad2a62 100644 --- a/reference/docs-conceptual/install/Installing-PowerShell-on-Linux.md +++ b/reference/docs-conceptual/install/Installing-PowerShell-on-Linux.md @@ -1,6 +1,6 @@ --- description: Learn about the Linux distributions supported by PowerShell. -ms.date: 09/22/2021 +ms.date: 11/08/2021 title: Install PowerShell on Linux --- # Install PowerShell on Linux @@ -79,9 +79,10 @@ PowerShell may be supported by the community for these releases. For more inform ## Alternate installation methods -There are three other ways to install PowerShell on Linux, including Linux distributions that aren't officially supported. You can try to install PowerShell using -the PowerShell Snap Package. You can also try deploying PowerShell binaries directly using the Linux -`tar.gz`. For more information, see [Alternate ways to install PowerShell on Linux][other-linux]. +There are three other ways to install PowerShell on Linux, including Linux distributions that aren't +officially supported. You can try to install PowerShell using the PowerShell Snap Package. You can +also try deploying PowerShell binaries directly using the Linux `tar.gz`. For more information, see +[Alternate ways to install PowerShell on Linux][other-linux]. [community]: community-support.md [other-linux]: install-other-linux.md diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md index 03a1f876752d..f485edaff3c3 100644 --- a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md +++ b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Windows -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on Windows --- # Installing PowerShell on Windows @@ -35,8 +35,8 @@ different scenarios and workflows. Choose the method that best suits your needs. To install PowerShell on Windows, use the following links to download the install package from GitHub. -- [PowerShell-7.1.5-win-x64.msi][x64msi] -- [PowerShell-7.1.5-win-x86.msi][x86msi] +- [PowerShell-7.2.0-win-x64.msi][x64msi] +- [PowerShell-7.2.0-win-x86.msi][x86msi] Once downloaded, double-click the installer file and follow the prompts. @@ -74,7 +74,7 @@ installation options: The following example shows how to silently install PowerShell with all the install options enabled. ```powershell -msiexec.exe /package PowerShell-7.1.5-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 +msiexec.exe /package PowerShell-7.2.0-win-x64.msi /quiet ADD_EXPLORER_CONTEXT_MENU_OPENPOWERSHELL=1 ENABLE_PSREMOTING=1 REGISTER_MANIFEST=1 ``` For a full list of command-line options for `Msiexec.exe`, see @@ -85,10 +85,10 @@ For a full list of command-line options for `Msiexec.exe`, see PowerShell binary ZIP archives are provided to enable advanced deployment scenarios. Download one of the following ZIP archives from the [current release][current] page. -- [PowerShell-7.1.5-win-x64.zip][x64zip] -- [PowerShell-7.1.5-win-x86.zip][x86zip] -- [PowerShell-7.1.5-win-arm64.zip][arm64zip] -- [PowerShell-7.1.5-win-arm32.zip][arm32zip] +- [PowerShell-7.2.0-win-x64.zip][x64zip] +- [PowerShell-7.2.0-win-x86.zip][x86zip] +- [PowerShell-7.2.0-win-arm64.zip][arm64zip] +- [PowerShell-7.2.0-win-arm32.zip][arm32zip] Depending on how you download the file you may need to unblock the file using the `Unblock-File` cmdlet. Unzip the contents to the location of your choice and run `pwsh.exe` from there. Unlike @@ -133,7 +133,7 @@ winget search Microsoft.PowerShell ```Output Name Id Version Source ---------------------------------------------------------------- -PowerShell Microsoft.PowerShell 7.1.5.0 winget +PowerShell Microsoft.PowerShell 7.2.0.0 winget Powershell Preview Microsoft.PowerShell.Preview 7.2.0.10 winget ``` @@ -170,17 +170,18 @@ For more information, see ## Installing a preview version + Preview releases of PowerShell 7 install to `$env:ProgramFiles\PowerShell\7-preview` so they can -be run side-by-side with non-preview releases of PowerShell. PowerShell 7.2-rc.1 is the -current preview release. +be run side-by-side with non-preview releases of PowerShell. PowerShell 7.3 will be the +next preview release. ### Support for Microsoft Update in PowerShell 7.2 -PowerShell 7.2-rc.1 has support for Microsoft Update. When you enable this feature, you'll get +PowerShell 7.2 has support for Microsoft Update. When you enable this feature, you'll get the latest PowerShell 7 updates in your traditional Microsoft Update (MU) management flow, whether that's with Windows Update for Business, WSUS, SCCM, or the interactive MU dialog in Settings. @@ -215,7 +216,7 @@ Windows 10 IoT Enterprise comes with Windows PowerShell, which we can use to dep ```powershell # Replace the placeholder information for the following variables: $deviceip = ' -$zipfile = 'PowerShell-7.1.5-win-x64.zip' +$zipfile = 'PowerShell-7.2.0-win-x64.zip' # Connect to the built-in instance of Windows PowerShell $session = New-PSSession -ComputerName $ipaddr -Credential $credential # Copy the file to the Nano Server instance @@ -300,7 +301,7 @@ Copy-Item $zipfile c:\ -ToSession $session # Enter the interactive remote session Enter-PSSession $session # Extract the ZIP file -Expand-Archive -Path C:\PowerShell-7.1.5-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' +Expand-Archive -Path C:\PowerShell-7.2.0-win-x64.zip -DestinationPath 'C:\Program Files\PowerShell 7' ``` If you want WSMan-based remoting, follow the instructions to create a remoting endpoint using the @@ -351,10 +352,10 @@ cannot support those methods. [store-app]: https://www.microsoft.com/store/apps/9MZ1SNWT0N5D [winget]: /windows/package-manager/winget [wsman-remoting]: ../learn/remoting/WSMan-Remoting-in-PowerShell-Core.md -[arm32zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-arm32.zip -[arm64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-arm64.zip -[x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x64.msi -[x64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x64.zip -[x86msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x86.msi -[x86zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/PowerShell-7.1.5-win-x86.zip -[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/PowerShell-7.2.0-rc.1-win-x64.msi +[arm32zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-arm32.zip +[arm64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-arm64.zip +[x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-x64.msi +[x64zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-x64.zip +[x86msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-x86.msi +[x86zip]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-x86.zip +[72x64msi]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/PowerShell-7.2.0-win-x64.msi diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md b/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md index 0e97163a7f99..e96b470b3da1 100644 --- a/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md +++ b/reference/docs-conceptual/install/Installing-PowerShell-on-macOS.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on macOS -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on macOS --- @@ -126,9 +126,9 @@ brew upgrade powershell PowerShell 7.2 adds support for the Apple M1 processor. Download the install package from the [releases][releases] page onto your computer. The links to the current versions are: -- PowerShell 7.2-rc.1 - - x64 processors - [powershell-7.2.0-rc.1-osx-x64.pkg][72x64pkg] - - M1 processors - [powershell-7.2.0-rc.1-osx-arm64.pkg][72m1pkg] +- PowerShell 7.2.0 + - x64 processors - [powershell-7.2.0-osx-x64.pkg][72x64pkg] + - M1 processors - [powershell-7.2.0-osx-arm64.pkg][72m1pkg] - PowerShell 7.1.5 - [powershell-7.1.5-osx-x64.pkg][71x64pkg] - PowerShell 7.0.8 - [powershell-7.0.8-osx-x64.pkg][70x64pkg] @@ -178,13 +178,12 @@ operations. Download the install package from the [releases][releases] page onto your computer. The links to the current versions are: -- PowerShell 7.2-rc.1 - - x64 processors - [powershell-7.2.0-rc.1-osx-x64.tar.gz][72x64bin] - - M1 processors - [powershell-7.2.0-rc.1-osx-arm64.tar.gz][72m1bin] +- PowerShell 7.2.0 + - x64 processors - [powershell-7.2.0-osx-x64.tar.gz][72x64bin] + - M1 processors - [powershell-7.2.0-osx-arm64.tar.gz][72m1bin] - PowerShell 7.1.5 - [powershell-7.1.5-osx-x64.tar.gz][71x64bin] - PowerShell 7.0.8 - [powershell-7.0.8-osx-x64.tar.gz][70x64bin] - Use the following commands to install PowerShell from the binary archive. Change the download URL to match the version you want to install. @@ -300,12 +299,12 @@ support those methods. [lts]: https://aka.ms/powershell-release?tag=lts [preview]: https://aka.ms/powershell-release?tag=preview -[72x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-osx-x64.pkg -[72m1pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-osx-arm64.pkg +[72x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-osx-x64.pkg +[72m1pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-osx-arm64.pkg [71x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-osx-x64.pkg [70x64pkg]: https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-osx-x64.pkg -[72x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-osx-x64.tar.gz -[72m1bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-osx-arm64.tar.gz +[72x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-osx-x64.tar.gz +[72m1bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-osx-arm64.tar.gz [71x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-osx-x64.tar.gz [70x64bin]: https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-osx-x64.tar.gz diff --git a/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md b/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md index f303b4788da1..99a7f0e80f9e 100644 --- a/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md +++ b/reference/docs-conceptual/install/PowerShell-Support-Lifecycle.md @@ -1,6 +1,6 @@ --- description: Details the policies governing support for PowerShell -ms.date: 10/22/2021 +ms.date: 11/08/2021 title: PowerShell Support Lifecycle --- # PowerShell Support Lifecycle @@ -30,8 +30,8 @@ the next release (current or LTS). ## Supported platforms -PowerShell runs on multiple operating systems (OS) and processor architectures. In order to be -supported by Microsoft, the must meet the following criteria: +PowerShell runs on multiple operating systems (OS) and processor architectures. To be supported by +Microsoft, the OS must meet the following criteria: - The version and processor architecture of the OS is supported by .NET Core. - The version of the OS is supported for at least one year. @@ -125,8 +125,8 @@ longer be supported. | Version | End-of-support | | ----------------- | ------------------------- | -| 7.2 (LTS-preview) | November 2024 (projected) | -| 7.1 (current) | May 31, 2022 (projected) | +| 7.2 (LTS-current) | November 2024 (projected) | +| 7.1 | May 31, 2022 | | 7.0 (LTS) | December 3, 2022 | | 6.2 | September 4, 2020 | | 6.1 | September 28, 2019 | @@ -135,8 +135,8 @@ longer be supported. Support for PowerShell on a specific platforms is based on the support policy of the version of .NET used. -- PowerShell 7.2 (LTS-preview) is based on the [.NET 6.0 Supported OS Lifecycle Policy][net60os] -- PowerShell 7.1 (current) is based on the [.NET 5.0 Supported OS Lifecycle Policy][net50os] +- PowerShell 7.2 (LTS-current) is based on the [.NET 6.0 Supported OS Lifecycle Policy][net60os] +- PowerShell 7.1 is based on the [.NET 5.0 Supported OS Lifecycle Policy][net50os] - PowerShell 7.0 (LTS) is based on the [.NET Core 3.1 Supported OS Lifecycle Policy][net31os] ## Release history @@ -146,8 +146,8 @@ for historical reference. It is not intended for use to determine the support li | Version | Release Date | Note | | ---------------------------- | :----------: | -------------------------------------------------------------------------------- | -| PowerShell 7.2 (LTS-preview) | TBD | Built on .NET 6.0 (LTS-preview). | -| PowerShell 7.1 (current) | Nov-2020 | Built on .NET 5.0 (current). | +| PowerShell 7.2 (LTS-current) | Nov-2024 | Built on .NET 6.0 (LTS-current). | +| PowerShell 7.1 | Nov-2020 | Built on .NET 5.0. | | PowerShell 7.0 (LTS) | Mar-2020 | Built on .NET Core 3.1 (LTS). | | PowerShell 6.2 | Mar-2019 | | | PowerShell 6.1 | Sep-2018 | Built on .NET Core 2.1. | diff --git a/reference/docs-conceptual/install/install-alpine.md b/reference/docs-conceptual/install/install-alpine.md index d0ee92f1a242..4865df169c2a 100644 --- a/reference/docs-conceptual/install/install-alpine.md +++ b/reference/docs-conceptual/install/install-alpine.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Alpine Linux -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on Alpine Linux --- # Installing PowerShell on Alpine Linux @@ -17,14 +17,14 @@ installing, check the list of [Supported versions](#supported-versions) below. ## Installation steps -Installation on Alpine is based on downloading tar.gz package from the [releases][releases] page. The -URL to the package depends on the version of PowerShell you want to install. +Installation on Alpine is based on downloading tar.gz package from the [releases][releases] page. +The URL to the package depends on the version of PowerShell you want to install. -- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-linux-alpine-x64.tar.gz` +- PowerShell 7.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-linux-alpine-x64.tar.gz` - PowerShell 7.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-linux-alpine-x64.tar.gz` - PowerShell 7.0 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-linux-alpine-x64.tar.gz` -Then, in the terminal, execute the following shell commands to install PowerShell 7.2-rc.1: +Then, in the terminal, execute the following shell commands to install PowerShell 7.2: ```sh # install the requirements @@ -47,7 +47,7 @@ sudo apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \ lttng-ust # Download the powershell '.tar.gz' archive -curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-linux-alpine-x64.tar.gz -o /tmp/powershell.tar.gz +curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-linux-alpine-x64.tar.gz -o /tmp/powershell.tar.gz # Create the target folder where powershell will be placed sudo mkdir -p /opt/microsoft/powershell/7 diff --git a/reference/docs-conceptual/install/install-centos.md b/reference/docs-conceptual/install/install-centos.md index 2822c89acbd2..8306ebcee4ca 100644 --- a/reference/docs-conceptual/install/install-centos.md +++ b/reference/docs-conceptual/install/install-centos.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on CentOS -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on CentOS --- # Installing PowerShell on CentOS @@ -46,7 +46,7 @@ with `sudo yum update powershell`. PowerShell 7.2 is distributed as a universal RPM package. Previous versions of PowerShell had separate package for each OS. Download the RPM package you need onto your CentOS machine. -- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm` +- PowerShell 7.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts-7.2.0-1.rh.x86_64.rpm` - PowerShell 7.1.5 - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.rhel.7.x86_64.rpm` - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.centos.8.x86_64.rpm` @@ -56,16 +56,10 @@ separate package for each OS. Download the RPM package you need onto your CentOS Change the URL in the following shell commands to match the version you need. -On CentOS 7: +On CentOS: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm -``` - -On CentOS 8: - -```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts-7.2.0-1.rh.x86_64.rpm ``` ## Uninstall PowerShell from CentOS diff --git a/reference/docs-conceptual/install/install-debian.md b/reference/docs-conceptual/install/install-debian.md index fb783e5286ec..f75fb16d282f 100644 --- a/reference/docs-conceptual/install/install-debian.md +++ b/reference/docs-conceptual/install/install-debian.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Debian Linux -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on Debian Linux --- # Installing PowerShell on Debian Linux @@ -28,7 +28,7 @@ PowerShell 7.2 introduced a universal package that makes installation easier. Do package from the [releases][releases] page onto the Debian 10 machine. The link to the current version is: -- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview_7.2.0-rc.1-1.deb_amd64.deb` +- PowerShell 7.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts_7.2.0-1.deb_amd64.deb` - PowerShell 7.1.5 - Debian 10 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.debian.10_amd64.deb` - Debian 9 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.debian.9_amd64.deb` diff --git a/reference/docs-conceptual/install/install-fedora.md b/reference/docs-conceptual/install/install-fedora.md index 2dd07e3b4ac5..ec1cb31d2915 100644 --- a/reference/docs-conceptual/install/install-fedora.md +++ b/reference/docs-conceptual/install/install-fedora.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Fedora Linux -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on Fedora Linux --- # Installing PowerShell on Fedora Linux @@ -48,18 +48,18 @@ PowerShell 7.2 introduced a universal package that makes installation easier. Th contains the dependencies needed by the package. Download the RPM package from the [releases][releases] page onto your openSUSE computer. The links to the current versions are: -- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm` +- PowerShell 7.2.0 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts-7.2.0-1.rh.x86_64.rpm` - PowerShell 7.1.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.rhel.7.x86_64.rpm` - PowerShell 7.0.8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.rhel.7.x86_64.rpm` -The following shell command installs PowerShell 7.2-rc.1: +The following shell command installs PowerShell 7.2: ```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts-7.2.0-1.rh.x86_64.rpm ``` -Use the following shell commands to download and install the package. Change the URL to match the -PowerShell version that you want to install. +Use the following shell commands to download and install the 7.1.5 package. Change the URL to match +the PowerShell version that you want to install. ```sh sudo dnf install compat-openssl10 diff --git a/reference/docs-conceptual/install/install-other-linux.md b/reference/docs-conceptual/install/install-other-linux.md index ba856050aaac..136cda4d6ed2 100644 --- a/reference/docs-conceptual/install/install-other-linux.md +++ b/reference/docs-conceptual/install/install-other-linux.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on various Linux distributions -ms.date: 10/14/2021 +ms.date: 11/08/2021 title: Alternate ways to install PowerShell on Linux --- # Alternate ways to install PowerShell on Linux @@ -115,16 +115,16 @@ Linux `tar.gz` archive. The following example shows the steps for installing the x64 binary archive. You must choose the correct binary archive that matches the processor type for your platform. -- powershell-7.1.5-linux-arm32.tar.gz -- powershell-7.1.5-linux-arm64.tar.gz -- powershell-7.1.5-linux-x64.tar.gz +- powershell-7.2.0-linux-arm32.tar.gz +- powershell-7.2.0-linux-arm64.tar.gz +- powershell-7.2.0-linux-x64.tar.gz Use the following shell commands to download and install PowerShell from the `tar.gz` binary archive. Change the URL to match the version of PowerShell you want to install. ```sh # Download the powershell '.tar.gz' archive -curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-linux-x64.tar.gz +curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-linux-x64.tar.gz # Create the target folder where powershell will be placed sudo mkdir -p /opt/microsoft/powershell/7 diff --git a/reference/docs-conceptual/install/install-raspbian.md b/reference/docs-conceptual/install/install-raspbian.md index babaa4673218..2d4f15b23348 100644 --- a/reference/docs-conceptual/install/install-raspbian.md +++ b/reference/docs-conceptual/install/install-raspbian.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Raspberry Pi OS -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on Raspberry Pi OS --- # Installing PowerShell on Raspberry Pi OS @@ -27,7 +27,7 @@ run `pwsh` from a terminal. Run `pwsh-preview` if you installed a preview releas Download the tar.gz package from the [releases][releases] page onto your Raspberry Pi computer. The links to the current versions are: -- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-7.2.0-rc.1-linux-arm32.tar.gz` +- PowerShell 7.2.0 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-linux-arm32.tar.gz` - PowerShell 7.1.5 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-linux-arm32.tar.gz` - PowerShell 7.0.8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-linux-arm32.tar.gz` @@ -49,13 +49,13 @@ sudo apt-get install '^libssl1.0.[0-9]$' libunwind8 -y # Download and extract PowerShell # Grab the latest tar.gz -wget https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-linux-arm32.tar.gz +wget https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-linux-arm32.tar.gz # Make folder to put powershell mkdir ~/powershell # Unpack the tar.gz file -tar -xvf ./powershell-7.1.5-linux-arm32.tar.gz -C ~/powershell +tar -xvf ./powershell-7.2.0-linux-arm32.tar.gz -C ~/powershell # Start PowerShell ~/powershell/pwsh diff --git a/reference/docs-conceptual/install/install-rhel.md b/reference/docs-conceptual/install/install-rhel.md index 6a61f5d4fd4f..c355f6228fa8 100644 --- a/reference/docs-conceptual/install/install-rhel.md +++ b/reference/docs-conceptual/install/install-rhel.md @@ -59,7 +59,7 @@ with `sudo dnf upgrade powershell`. PowerShell 7.2 is distributed as a universal RPM package. Previous versions of PowerShell had separate package for each OS. Download the RPM package you need onto your CentOS machine. -- PowerShell 7.2-rc.1 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm` +- PowerShell 7.2 - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts-7.2.0-1.rh.x86_64.rpm` - PowerShell 7.1.5 - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.rhel.7.x86_64.rpm` - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell-7.1.5-1.centos.8.x86_64.rpm` @@ -67,19 +67,19 @@ separate package for each OS. Download the RPM package you need onto your CentOS - CentOS 7 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.rhel.7.x86_64.rpm` - CentOS 8 - `https://github.com/PowerShell/PowerShell/releases/download/v7.0.8/powershell-7.0.8-1.centos.8.x86_64.rpm` -Use the following shell command to install the RPM package on the target version of RHEL. Change the -URL in the following shell commands to match the version you need. +Use the following shell command to install the latest RPM package on the target version of RHEL. +Change the URL in the following shell commands to match the version you need. On RHEL 7: ```sh -sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm +sudo yum install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts-7.2.0-1.rh.x86_64.rpm ``` On RHEL 8: ```sh -sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview-7.2.0_rc.1-1.rh.x86_64.rpm +sudo dnf install https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts-7.2.0-1.rh.x86_64.rpm ``` ## Uninstallation - Red Hat Enterprise Linux (RHEL) 7 diff --git a/reference/docs-conceptual/install/install-ubuntu.md b/reference/docs-conceptual/install/install-ubuntu.md index 139e95157fa1..e0cc2227a694 100644 --- a/reference/docs-conceptual/install/install-ubuntu.md +++ b/reference/docs-conceptual/install/install-ubuntu.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Ubuntu -ms.date: 11/03/2021 +ms.date: 11/08/2021 title: Installing PowerShell on Ubuntu --- # Installing PowerShell on Ubuntu @@ -55,8 +55,8 @@ PowerShell 7.2 introduced a universal package that makes installation easier. Do package from the [releases][releases] page onto the Ubuntu machine. The link to the current version is: -- PowerShell 7.2-rc.1 (universal package) for any support version of Ubuntu - - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0-rc.1/powershell-preview_7.2.0-rc.1-1.deb_amd64.deb` +- PowerShell 7.2 (universal package) for any support version of Ubuntu + - `https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-lts_7.2.0-1.deb_amd64.deb` - PowerShell 7.1.5 - Ubuntu 20.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.ubuntu.20.04_amd64.deb` - Ubuntu 18.04 - `https://github.com/PowerShell/PowerShell/releases/download/v7.1.5/powershell_7.1.5-1.ubuntu.18.04_amd64.deb` @@ -69,7 +69,7 @@ the version you downloaded. ```sh # Install the downloaded package -sudo dpkg -i powershell-preview_7.2.0-rc.1-1.deb_amd64.deb +sudo dpkg -i powershell_7.2.0-1.deb_amd64.deb # Resolve missing dependencies and finish the install (if necessary) sudo apt-get install -f diff --git a/reference/docs-conceptual/learn/experimental-features.md b/reference/docs-conceptual/learn/experimental-features.md index bc3d8bbf65c1..05b5b488a158 100644 --- a/reference/docs-conceptual/learn/experimental-features.md +++ b/reference/docs-conceptual/learn/experimental-features.md @@ -1,6 +1,6 @@ --- description: Lists the currently available experimental features and how to use them. -ms.date: 09/21/2021 +ms.date: 11/08/2021 title: Using Experimental Features in PowerShell --- # Using Experimental Features in PowerShell diff --git a/reference/docs-conceptual/whats-new/cmdlet-versions.md b/reference/docs-conceptual/whats-new/cmdlet-versions.md index 88b2f0244b53..e38e44fc70b4 100644 --- a/reference/docs-conceptual/whats-new/cmdlet-versions.md +++ b/reference/docs-conceptual/whats-new/cmdlet-versions.md @@ -32,7 +32,7 @@ This is a work in progress. Please help us keep this information fresh. | Microsoft.WsMan.Management | ✅ | ✅ | ✅ | ✅ | Windows only | | PackageManagement | ✅ | ✅ | ✅ | ✅ | | | PowershellGet 2.x | v1.1 | ✅ | ✅ | ✅ | New versions available from the Gallery | -| PowershellGet 3.x | | | | | Preview available from the Gallery | +| PowershellGet 3.x | | | | | available from the Gallery | | PSDesiredStateConfiguration 2.x | ✅ | ✅ | ✅ | ❌ | Removed in 7.2 - available from the Gallery | | PSDesiredStateConfiguration 3.x | | | | | Preview available from the Gallery | | PSDiagnostics | ✅ | ✅ | ✅ | ✅ | Windows only | diff --git a/reference/docs-conceptual/windows-powershell/Starting-Windows-PowerShell.md b/reference/docs-conceptual/windows-powershell/Starting-Windows-PowerShell.md index 29c8cb03902e..f41443c878a7 100644 --- a/reference/docs-conceptual/windows-powershell/Starting-Windows-PowerShell.md +++ b/reference/docs-conceptual/windows-powershell/Starting-Windows-PowerShell.md @@ -25,12 +25,12 @@ information, see [About pwsh](/powershell/module/microsoft.powershell.core/about To find cmdlet reference and installation documentation for PowerShell 7, use the following links: -| Document | Link | -| ----- | ----- | -| Cmdlet reference | [PowerShell Module Browser](/powershell/module/) | +| Document | Link | +| -------------------- | -------------------------------------------------------------------------------------------------- | +| Cmdlet reference | [PowerShell Module Browser](/powershell/module/) | | Windows installation | [Installing PowerShell on Windows](/powershell/scripting/install/installing-powershell-on-windows) | -| macOS installation | [Installing PowerShell on macOS](/powershell/scripting/install/installing-powershell-on-macos) | -| Linux installation | [Installing PowerShell on Linux](/powershell/scripting/install/installing-powershell-on-linux) | +| macOS installation | [Installing PowerShell on macOS](/powershell/scripting/install/installing-powershell-on-macos) | +| Linux installation | [Installing PowerShell on Linux](/powershell/scripting/install/installing-powershell-on-linux) | To view content for other PowerShell versions, see [How to use the PowerShell documentation](../how-to-use-docs.md). diff --git a/reference/includes/alpine-support.md b/reference/includes/alpine-support.md index bc3358ca3623..0d4d26bdb0f4 100644 --- a/reference/includes/alpine-support.md +++ b/reference/includes/alpine-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 09/22/2021 +ms.date: 11/08/2021 ms.prod: powershell ms.topic: include --- @@ -16,12 +16,12 @@ supported on. These versions are supported until either the version of - When both the version of the OS and the version of PowerShell have ✅, that combination is supported -| Alpine | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| ------------- | :-------: | :-----------: | :---------------: | -| ✅ 3.12 | ✅ | ✅ | ❌ | -| ✅ 3.11 | ✅ | ✅ | ❌ | -| ❌ 3.10 | 🟡 | 🟡 | ❌ | -| ❌ 3.9 | 🟡 | 🟡 | ❌ | +| Alpine | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| ------------- | :-------: | :-------: | :---------------: | +| ✅ 3.12 | ✅ | ✅ | ❌ | +| ✅ 3.11 | ✅ | ✅ | ❌ | +| ❌ 3.10 | 🟡 | 🟡 | ❌ | +| ❌ 3.9 | 🟡 | 🟡 | ❌ | PowerShell has not been tested on Alpine versions 3.13 and 3.14. @@ -30,9 +30,9 @@ PowerShell has not been tested on Alpine versions 3.13 and 3.14. PowerShell is supported on Alpine for the following processor architectures. -| Alpine | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| ---------------------- | :-------: | :-----------: | :---------------: | -| All supported versions | x64 | x64 | x64 | +| Alpine | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| ---------------------- | :-------: | :---: | :---------------: | +| All supported versions | x64 | x64 | x64 | PowerShell has not been tested on Alpine using Arm processors. diff --git a/reference/includes/debian-support.md b/reference/includes/debian-support.md index 0c08e6441e14..d42463ff77f1 100644 --- a/reference/includes/debian-support.md +++ b/reference/includes/debian-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 09/22/2021 +ms.date: 11/08/2021 ms.prod: powershell ms.topic: include --- @@ -16,15 +16,15 @@ they're supported on. These versions remain supported until either the version o - When both the version of the OS and the version of PowerShell have ✅, that combination is supported -| Debian | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| ----------- | :-------: | :-----------: | :---------------: | -| ✅ 10 | ✅ | ✅ | ✅ | -| ✅ 9 | ✅ | ✅ | ❌ | -| ❌ 8 | 🟡 | ❌ | ❌ | +| Debian | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| ----------- | :-------: | :------: | :---------------: | +| ✅ 10 | ✅ | ✅ | ✅ | +| ✅ 9 | ✅ | ✅ | ❌ | +| ❌ 8 | 🟡 | ❌ | ❌ | PowerShell is supported on Debian for the following processor architectures. -| Debian | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | +| Debian | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | | ---------- | :---------------: | :---------------: | :---------------: | | Version 9+ | x64, Arm32, Arm64 | x64, Arm32, Arm64 | x64, Arm32, Arm64 | diff --git a/reference/includes/macos-support.md b/reference/includes/macos-support.md index a60116aa80ca..8c5886244c92 100644 --- a/reference/includes/macos-support.md +++ b/reference/includes/macos-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 09/22/2021 +ms.date: 11/08/2021 ms.prod: powershell ms.topic: include --- @@ -16,23 +16,23 @@ Windows they are supported on. These versions remain supported until either the - When both the version of the OS and the version of PowerShell have ✅, that combination is supported -| macOS | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| -------------------------------- | :-------: | :-----------: | :---------------: | -| ✅ macOS Big Sur 11.5 | ✅ | ✅ | ✅ | -| ✅ macOS Catalina 10.15 | ✅ | ✅ | ✅ | -| ✅ macOS Mojave 10.14 | ✅ | ✅ | ✅ | -| ✅ macOS High Sierra 10.13 | ✅ | ✅ | ❌ | +| macOS | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| -------------------------------- | :-------: | :------: | :---------------: | +| ✅ macOS Big Sur 11.5 | ✅ | ✅ | ✅ | +| ✅ macOS Catalina 10.15 | ✅ | ✅ | ✅ | +| ✅ macOS Mojave 10.14 | ✅ | ✅ | ✅ | +| ✅ macOS High Sierra 10.13 | ✅ | ✅ | ❌ | Support of macOS is defined by Apple. For more information, see: - [Apple Support Sitemap](https://support.apple.com/sitemap) -- [Apple Security Updates](https://support.apple.com/en-us/HT201222) +- [Apple Security Updates](https://support.apple.com/HT201222) PowerShell is supported on macOS for the following processor architectures: -| macOS | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| ------------------------ | :-------: | :-----------: | :---------------: | -| macOS Big Sur 11.5 | x64 | x64 | x64, Arm64 | -| macOS High Sierra 10.13+ | x64 | x64 | x64 | +| macOS | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| ------------------------ | :-------: | :---: | :---------------: | +| macOS Big Sur 11.5 | x64 | x64 | x64, Arm64 | +| macOS High Sierra 10.13+ | x64 | x64 | x64 | [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle diff --git a/reference/includes/rhel-support.md b/reference/includes/rhel-support.md index 9eae059fc04f..df366f41ea25 100644 --- a/reference/includes/rhel-support.md +++ b/reference/includes/rhel-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 09/22/2021 +ms.date: 11/08/2021 ms.prod: powershell ms.topic: include --- @@ -16,16 +16,16 @@ they are supported on. These versions remain supported until either the version - When both the version of the OS and the version of PowerShell have ✅, that combination is supported -| RHEL | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| ---------- | :-------: | :-----------: | :---------------: | -| ✅ 8 | ✅ | ✅ | ✅ | -| ✅ 7 | ✅ | ✅ | ✅ | +| RHEL | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| ---------- | :-------: | :------: | :---------------: | +| ✅ 8 | ✅ | ✅ | ✅ | +| ✅ 7 | ✅ | ✅ | ✅ | PowerShell is supported on RHEL for the following processor architectures. -| RHEL | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| ---------------------- | :-------: | :-----------: | :---------------: | -| All supported versions | x64 | x64 | x64, Arm64 | +| RHEL | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| ---------------------- | :-------: | :---: | :---------------: | +| All supported versions | x64 | x64 | x64, Arm64 | [lifecycle]: /powershell/scripting/install/powershell-support-lifecycle [eol-rhel]: https://access.redhat.com/support/policy/updates/errata/ diff --git a/reference/includes/ubuntu-support.md b/reference/includes/ubuntu-support.md index 25c29bc18d24..acccb8b16f6f 100644 --- a/reference/includes/ubuntu-support.md +++ b/reference/includes/ubuntu-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 09/22/2021 +ms.date: 11/08/2021 ms.prod: powershell ms.topic: include --- @@ -16,11 +16,11 @@ Ubuntu they are supported on. These versions remain supported until either the v - When both the version of the OS and the version of PowerShell have ✅, that combination is supported -| Ubuntu | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| -------------------- | :-------: | :-----------: | :---------------: | -| ✅ 20.04 (LTS) | ✅ | ✅ | ✅ | -| ✅ 18.04 (LTS) | ✅ | ✅ | ✅ | -| ❌ 16.04 (LTS) | 🟡 | 🟡 | ❌ | +| Ubuntu | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| -------------------- | :-------: | :-------: | :---------------: | +| ✅ 20.04 (LTS) | ✅ | ✅ | ✅ | +| ✅ 18.04 (LTS) | ✅ | ✅ | ✅ | +| ❌ 16.04 (LTS) | 🟡 | 🟡 | ❌ | Only the LTS releases of Ubuntu are officially supported. Microsoft does not support [interim releases][interim] or their equivalent. Interim releases are community supported. For more @@ -28,7 +28,7 @@ information, see [Community supported distributions][community]. PowerShell is supported on Ubuntu for the following processor architectures. -| Ubuntu | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | +| Ubuntu | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | | ---------------------- | :---------------: | :---------------: | :---------------: | | All supported versions | x64, Arm32, Arm64 | x64, Arm32, Arm64 | x64, Arm32, Arm64 | diff --git a/reference/includes/windows-support.md b/reference/includes/windows-support.md index c3bf99710ea1..be305cab56dc 100644 --- a/reference/includes/windows-support.md +++ b/reference/includes/windows-support.md @@ -1,7 +1,7 @@ --- author: sdwheeler ms.author: sewhee -ms.date: 09/22/2021 +ms.date: 11/08/2021 ms.prod: powershell ms.topic: include --- @@ -16,17 +16,17 @@ on. These versions are supported until either the version of - When both the version of the OS and the version of PowerShell have ✅, that combination is supported -| Windows | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | -| ------------------------------------------------ | :-------: | :-----------: | :---------------: | -| ✅ Windows Server 2016, 2019, or 2022 | ✅ | ✅ | ✅ | -| ✅ Windows Server 2012 R2 | ✅ | ✅ | ✅ | -| ✅ Windows Server Core (2012 R2 or higher) | ✅ | ✅ | ✅ | -| ✅ Windows Server Nano (1809 or higher) | ✅ | ✅ | ✅ | -| ❌ Windows Server 2012 | 🟡 | 🟡 | ❌ | -| ❌ Windows Server 2008 R2 | 🟡 | 🟡 | ❌ | -| ✅ Windows 11 | ✅ | ✅ | ✅ | -| ✅ Windows 10 1607+ | ✅ | ✅ | ✅ | -| ✅ Windows 8.1 | ✅ | ✅ | ❌ | +| Windows | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | +| ------------------------------------------------ | :-------: | :-------: | :---------------: | +| ✅ Windows Server 2016, 2019, or 2022 | ✅ | ✅ | ✅ | +| ✅ Windows Server 2012 R2 | ✅ | ✅ | ✅ | +| ✅ Windows Server Core (2012 R2 or higher) | ✅ | ✅ | ✅ | +| ✅ Windows Server Nano (1809 or higher) | ✅ | ✅ | ✅ | +| ❌ Windows Server 2012 | 🟡 | 🟡 | ❌ | +| ❌ Windows Server 2008 R2 | 🟡 | 🟡 | ❌ | +| ✅ Windows 11 | ✅ | ✅ | ✅ | +| ✅ Windows 10 1607+ | ✅ | ✅ | ✅ | +| ✅ Windows 8.1 | ✅ | ✅ | ❌ | > [!NOTE] > Support for a specific version of Windows is determined by the Microsoft Support Lifecycle @@ -37,7 +37,7 @@ on. These versions are supported until either the version of PowerShell is supported on Windows for the following processor architectures. -| Windows | 7.0 (LTS) | 7.1 (current) | 7.2 (LTS-preview) | +| Windows | 7.0 (LTS) | 7.1 | 7.2 (LTS-current) | | ---------------------------- | :--------: | :-------------: | :---------------: | | Nano Server Version 1803+ | x64, Arm32 | x64 | x64 | | Windows Server 2012 R2+ | x64, x86 | x64, x86 | x64, x86 |