diff --git a/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md index eed2bfa8f962..79fa84ce0782 100644 --- a/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/7.4/PSReadLine/About/about_PSReadLine_Functions.md @@ -3,7 +3,7 @@ description: > This article documents the functions provided by PSReadLine. These functions can be bound to keystrokes for easy access and invocation. Locale: en-US -ms.date: 03/03/2025 +ms.date: 10/01/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_functions?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Functions @@ -1179,9 +1179,13 @@ Similarly, you can use this with other operations, like `` or ### InvokePrompt -Erases the current prompt and calls the prompt function to redisplay the -prompt. Useful for custom key handlers that change state. For example, change -the current directory. +Attempt to erase the current prompt and call the prompt function to redisplay +the prompt. Useful for custom key handlers that change state. For example, +change the current directory. This method can't overwrite a prompt that has +left the screen buffer. + +Calls to InvokePrompt with no Y position argument immediately return if the +prompt can't be overwritten. This change was made in PSReadLine v2.4.3-beta3. - Function is unbound. diff --git a/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md index a09ecc3e5ec4..7d15f1a0030e 100644 --- a/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/7.5/PSReadLine/About/about_PSReadLine_Functions.md @@ -3,7 +3,7 @@ description: > This article documents the functions provided by PSReadLine. These functions can be bound to keystrokes for easy access and invocation. Locale: en-US -ms.date: 03/03/2025 +ms.date: 10/01/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_functions?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Functions @@ -1179,9 +1179,13 @@ Similarly, you can use this with other operations, like `` or ### InvokePrompt -Erases the current prompt and calls the prompt function to redisplay the -prompt. Useful for custom key handlers that change state. For example, change -the current directory. +Attempt to erase the current prompt and call the prompt function to redisplay +the prompt. Useful for custom key handlers that change state. For example, +change the current directory. This method can't overwrite a prompt that has +left the screen buffer. + +Calls to InvokePrompt with no Y position argument immediately return if the +prompt can't be overwritten. This change was made in PSReadLine v2.4.3-beta3. - Function is unbound. diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md index 0a518eb86646..f042e1d49cd2 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Arrays.md @@ -1,7 +1,7 @@ --- description: Describes arrays, which are data structures designed to store collections of items. Locale: en-US -ms.date: 01/03/2025 +ms.date: 10/01/2025 no-loc: [Count, Length, LongLength, Rank, ForEach, Clear, Default, First, Last, SkipUntil, Until, Split, Tuple] online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_arrays?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 @@ -515,6 +515,13 @@ ForEach(string methodName) ForEach(string methodName, object[] arguments) ``` +PowerShell 7.6-preview.5 added `PSForEach()` as an alias for the `ForEach()` +method and `PSWhere()` as an alias for the `Where()` method. Use these aliases +to avoid conflicts with `ForEach()` and `Where()` that might be defined on the +base class of the object. For example, the `System.Collections.Generic.List` +class defines its own `ForEach()` method. Use `PSForEach()` to avoid calling +the base class method. + #### ForEach(scriptblock expression) #### ForEach(scriptblock expression, object[] arguments) @@ -671,6 +678,13 @@ hi there ``` +PowerShell 7.6-preview.5 added `PSForEach()` as an alias for the `ForEach()` +method and `PSWhere()` as an alias for the `Where()` method. Use these aliases +to avoid conflicts with `ForEach()` and `Where()` that might be defined on the +base class of the object. For example, the `System.Collections.Generic.List` +class defines its own `ForEach()` method. Use `PSForEach()` to avoid calling +the base class method. + #### Default The `Default` mode filters items using the `Expression` scriptblock. diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Environment_Variables.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Environment_Variables.md index 3c6cb1d566e5..d1ed8e17e1d0 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Environment_Variables.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Environment_Variables.md @@ -1,7 +1,7 @@ --- description: Describes how to access and manage environment variables in PowerShell. Locale: en-US -ms.date: 08/27/2025 +ms.date: 10/01/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Environment_Variables @@ -20,6 +20,7 @@ programs. PowerShell creates the following environment variables: - `POWERSHELL_TELEMETRY_OPTOUT` - `POWERSHELL_DISTRIBUTION_CHANNEL` - `POWERSHELL_UPDATECHECK` +- `POWERSHELL_DIAGNOSTICS_OPTOUT` - `PSExecutionPolicyPreference` - `PSModulePath` - `PSModuleAnalysisCachePath` @@ -413,6 +414,21 @@ The environment variables that store preferences include: PowerShell process. See the previous sections for information about creating persistent environment variables. +- `POWERSHELL_DIAGNOSTICS_OPTOUT` + + This environment variable was added in PowerShell 7.6-preview.5. By default, + PowerShell creates a named pipe that is uses for Interprocess Communication + (IPC), such as `Enter-PSHostProcess`. PowerShell creates the named pipe at + startup so that it's available for use when needed. + + On non-Windows platforms, named pipes are implemented as files in the `/tmp` + folder. If PowerShell crashes, these files may not be deleted. Over time, + these files can accumulate. + + Beginning in PowerShell 7.6, `POWERSHELL_DIAGNOSTICS_OPTOUT` is set to + `false`. To turn off the creation of the named pipe, set the environment + variable to `true`, `yes`, or `1`. + - `PSExecutionPolicyPreference` Stores the execution policy set for the current session. This environment diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Intrinsic_Members.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Intrinsic_Members.md index 1bb06ad46c07..51bac56a1576 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Intrinsic_Members.md +++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Intrinsic_Members.md @@ -1,7 +1,7 @@ --- description: Describes automatic members in all PowerShell objects Locale: en-US -ms.date: 01/03/2025 +ms.date: 10/01/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_Intrinsic_Members?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_Intrinsic_Members @@ -165,6 +165,13 @@ The `ForEach()` and `Where()` methods are available to all PowerShell objects. However, they're most useful when working with collections. For more information on how to use these methods, see [about_Arrays][01]. +PowerShell 7.6-preview.5 added `PSForEach()` as an alias for the `ForEach()` +method and `PSWhere()` as an alias for the `Where()` method. Use these aliases +to avoid conflicts with `ForEach()` and `Where()` that might be defined on the +base class of the object. For example, the `System.Collections.Generic.List` +class defines its own `ForEach()` method. Use `PSForEach()` to avoid calling +the base class method. + ## Properties Not all scalar type have **Count** or **Length** properties in the base type. diff --git a/reference/7.6/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md b/reference/7.6/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md index 8075ffc7a6a1..789ffd85ea55 100644 --- a/reference/7.6/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md +++ b/reference/7.6/Microsoft.PowerShell.Core/Register-ArgumentCompleter.md @@ -19,15 +19,21 @@ Registers a custom argument completer. ### NativeSet ``` -Register-ArgumentCompleter -CommandName -ScriptBlock [-Native] +Register-ArgumentCompleter -CommandName -ScriptBlock [-Native] [] ``` ### PowerShellSet ``` -Register-ArgumentCompleter [-CommandName ] -ParameterName - -ScriptBlock [] +Register-ArgumentCompleter -ParameterName -ScriptBlock + [-CommandName ] [] +``` + +### NativeFallbackSet + +``` +Register-ArgumentCompleter -ScriptBlock [-NativeFallback] [] ``` ## DESCRIPTION @@ -220,6 +226,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -NativeFallback + +When you use this parameter, PowerShell registers a cover-all argument completer for native +commands. When a native command doesn't have a specific completer for it, it uses the cover-all +completer. A cover-all completer allows a module like Microsoft.PowerShell.UnixTabCompletion to be +registered to provide tab completion for many native commands on Linux and macOS systems. + +> [!NOTE] +> You can only register one cover-all completer. + +This parameter was added in PowerShell 7.6-preview.5. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: NativeFallbackSet +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ParameterName Specifies the name of the parameter the argument completer applies to. The type for specified diff --git a/reference/7.6/PSDiagnostics/Disable-PSTrace.md b/reference/7.6/PSDiagnostics/Disable-PSTrace.md index ccfee3a2ba76..be042c595d1e 100644 --- a/reference/7.6/PSDiagnostics/Disable-PSTrace.md +++ b/reference/7.6/PSDiagnostics/Disable-PSTrace.md @@ -2,7 +2,7 @@ external help file: PSDiagnostics-help.xml Locale: en-US Module Name: PSDiagnostics -ms.date: 12/12/2022 +ms.date: 10/01/2025 online version: https://learn.microsoft.com/powershell/module/psdiagnostics/disable-pstrace?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: Disable-PSTrace @@ -11,7 +11,7 @@ title: Disable-PSTrace # Disable-PSTrace ## SYNOPSIS -Disables the Microsoft-Windows-PowerShell event provider logs. +Disables the PowerShellCore event provider logs. ## SYNTAX @@ -23,16 +23,20 @@ Disable-PSTrace [-AnalyticOnly] [] > **This cmdlet is only available on the Windows platform.** -This cmdlet disables the Operational and Analytic event logs of the Microsoft-Windows-PowerShell +This cmdlet disables the Operational and Analytic event logs of the PowerShellCore event provider. You must run this cmdlet from an elevated PowerShell session. +> [!NOTE] +> Prior to PowerShell 7.6, this command only disabled logging for the Microsoft-Windows-PowerShell +> event provider. + ## EXAMPLES ### Example 1: Disable the Analytic event log for PowerShell -The following example disables only the Analytic event log of the Microsoft-Windows-PowerShell +The following example disables only the Analytic event log of the PowerShellCore provider. ```powershell @@ -43,8 +47,8 @@ Disable-PSTrace -AnalyticOnly ### -AnalyticOnly -When this parameter is used, the cmdlet disables the Analytic event log of the -Microsoft-Windows-PowerShell provider. The Operational event log is not changed. +When this parameter is used, the cmdlet disables the Analytic event log of the PowerShellCore +provider. The Operational event log is not changed. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.6/PSDiagnostics/Enable-PSTrace.md b/reference/7.6/PSDiagnostics/Enable-PSTrace.md index 15133dc689e1..15c80c8d4f1c 100644 --- a/reference/7.6/PSDiagnostics/Enable-PSTrace.md +++ b/reference/7.6/PSDiagnostics/Enable-PSTrace.md @@ -2,7 +2,7 @@ external help file: PSDiagnostics-help.xml Locale: en-US Module Name: PSDiagnostics -ms.date: 12/12/2022 +ms.date: 10/01/2025 online version: https://learn.microsoft.com/powershell/module/psdiagnostics/enable-pstrace?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: Enable-PSTrace @@ -11,7 +11,7 @@ title: Enable-PSTrace # Enable-PSTrace ## SYNOPSIS -Enables the Microsoft-Windows-PowerShell event provider logs. +Enables the PowerShellCore event provider logs. ## SYNTAX @@ -23,16 +23,20 @@ Enable-PSTrace [-Force] [-AnalyticOnly] [] > **This cmdlet is only available on the Windows platform.** -This cmdlet enables the Operational and Analytic event logs of the Microsoft-Windows-PowerShell +This cmdlet enables the Operational and Analytic event logs of the PowerShellCore event provider. You must run this cmdlet from an elevated PowerShell session. +> [!NOTE] +> Prior to PowerShell 7.6, this command only enabled logging for the Microsoft-Windows-PowerShell +> event provider. + ## EXAMPLES ### Example 1: Enable the Analytic event log for PowerShell -The following example enables only the Analytic event log of the Microsoft-Windows-PowerShell +The following example enables only the Analytic event log of the PowerShellCore provider. ```powershell @@ -44,7 +48,7 @@ Enable-PSTrace -AnalyticOnly ### -AnalyticOnly When this parameter is used, the cmdlet enables the Analytic event log of the -Microsoft-Windows-PowerShell provider. The Operational event log is not changed. +PowerShellCore provider. The Operational event log is not changed. ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md b/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md index 805ed14a9c1e..553adf5af109 100644 --- a/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md +++ b/reference/7.6/PSReadLine/About/about_PSReadLine_Functions.md @@ -3,7 +3,7 @@ description: > This article documents the functions provided by PSReadLine. These functions can be bound to keystrokes for easy access and invocation. Locale: en-US -ms.date: 03/03/2025 +ms.date: 10/01/2025 online version: https://learn.microsoft.com/powershell/module/psreadline/about/about_psreadline_functions?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: about_PSReadLine_Functions @@ -1179,9 +1179,13 @@ Similarly, you can use this with other operations, like `` or ### InvokePrompt -Erases the current prompt and calls the prompt function to redisplay the -prompt. Useful for custom key handlers that change state. For example, change -the current directory. +Attempt to erase the current prompt and call the prompt function to redisplay +the prompt. Useful for custom key handlers that change state. For example, +change the current directory. This method can't overwrite a prompt that has +left the screen buffer. + +Calls to InvokePrompt with no Y position argument immediately return if the +prompt can't be overwritten. This change was made in PSReadLine v2.4.3-beta3. - Function is unbound. diff --git a/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md b/reference/docs-conceptual/install/Installing-PowerShell-on-Windows.md index 15d4df1cf47a..2b2c433a8ab5 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: 10/09/2025 +ms.date: 10/01/2025 title: Installing PowerShell on Windows --- # Installing PowerShell on Windows @@ -42,7 +42,7 @@ winget search Microsoft.PowerShell Name Id Version Source --------------------------------------------------------------- PowerShell Microsoft.PowerShell 7.5.3.0 winget -PowerShell Preview Microsoft.PowerShell.Preview 7.6.0.4 winget +PowerShell Preview Microsoft.PowerShell.Preview 7.6.0.5 winget ``` Install PowerShell or PowerShell Preview using the `id` parameter diff --git a/reference/docs-conceptual/install/install-rhel.md b/reference/docs-conceptual/install/install-rhel.md index d93a42975997..6251d5dec128 100644 --- a/reference/docs-conceptual/install/install-rhel.md +++ b/reference/docs-conceptual/install/install-rhel.md @@ -1,6 +1,6 @@ --- description: Information about installing PowerShell on Red Hat Enterprise Linux (RHEL) -ms.date: 07/03/2025 +ms.date: 10/01/2025 title: Installing PowerShell on Red Hat Enterprise Linux (RHEL) --- # Installing PowerShell on Red Hat Enterprise Linux (RHEL) @@ -29,7 +29,7 @@ known as _PMC_. Installing PowerShell from PMC is the preferred method of installation. > [!NOTE] -> This script only works for supported versions of RHEL. +> This script only works for supported versions of RHEL that are published to PMC. ```sh ################################### @@ -62,7 +62,8 @@ sudo dnf install powershell -y ## Installation via direct download PowerShell 7.2 introduced a universal package that makes installation easier. Download the universal -package from the [releases][02] page onto your RHEL machine. +package from the [releases][02] page onto your RHEL machine. Use this method to install PowerShell +on systems running RHEL 10. The link to the current version is: diff --git a/reference/docs-conceptual/security/security-features.md b/reference/docs-conceptual/security/security-features.md index 7dc199182945..6dcf0937ac08 100644 --- a/reference/docs-conceptual/security/security-features.md +++ b/reference/docs-conceptual/security/security-features.md @@ -111,7 +111,7 @@ security. > [!IMPORTANT] > You must use a secure transport layer to ensure secure data transfer over PSRP. -Beginning in PowerShell v7.6-preview5, the key exchange was deprecated. The version of PSRP was +Beginning in PowerShell v7.6-preview.5, the key exchange was deprecated. The version of PSRP was incremented to v2.4 and includes the following changes: - The following PSRP messages are deprecated when both client and server are v2.4 or higher: diff --git a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md index 1877370aef7b..298b23e5b7d8 100644 --- a/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md +++ b/reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-76.md @@ -6,17 +6,17 @@ ms.date: 03/26/2025 # What's New in PowerShell 7.6 -PowerShell 7.6-preview.4 includes the following features, updates, and breaking changes. PowerShell +PowerShell 7.6-preview.5 includes the following features, updates, and breaking changes. PowerShell 7.6 is built on .NET 9.0.101 GA release. For a complete list of changes, see the [CHANGELOG][04] in the GitHub repository. ## Updated modules -PowerShell 7.6-preview.4 includes the following updated modules: +PowerShell 7.6-preview.5 includes the following updated modules: - **Microsoft.PowerShell.PSResourceGet** v1.1.0 -- **PSReadLine** v2.3.6 +- **PSReadLine** v2.4.4-beta4 - **Microsoft.PowerShell.ThreadJob** v2.2.0 - **ThreadJob** v2.1.0 @@ -35,6 +35,10 @@ name, the **ThreadJob** v2.1.0 module is a proxy module that points to the ## Tab completion improvements +- Use parameter `HelpMessage` for tool tip in parameter completion ([#25108][25108]) (Thanks @jborean93!) +- Remove duplicate modules from completion results ([#25538][25538]) (Thanks @MartinGC94!) +- Add completion for variables assigned in `ArrayLiteralAst` and `ParenExpressionAst` ([#25303][25303]) (Thanks @MartinGC94!) +- Fix tab completion for env/function variables ([#25346][25346]) (Thanks @jborean93!) - Update Named and Statement block type inference to not consider **AssignmentStatements** and Increment/decrement operators as part of their output ([#21137][21137]) (Thanks @MartinGC94!) - Add `-PropertyType` argument completer for `New-ItemProperty` ([#21117][21117]) (Thanks @@ -84,6 +88,40 @@ name, the **ThreadJob** v2.1.0 module is a proxy module that points to the ## Cmdlet improvements +- Fix Out-GridView by replacing use of obsolete BinaryFormatter with custom implementation ([#25497][25497]) + (Thanks @mawosoft!) +- Improve verbose and debug logging level messaging in web cmdlets ([#25510][25510]) (Thanks + @JustinGrote!) +- Improve debug logging of Web cmdlet request and response ([#25479][25479]) (Thanks @JustinGrote!) +- Add the parameter `Register-ArgumentCompleter -NativeFallback` to support registering a cover-all + completer for native commands ([#25230][25230]) +- Treat `-Target` as literal in `New-Item` ([#25186][25186]) (Thanks @GameMicrowave!) +- Update PATH environment variable for package manager executable on Windows ([#25847][25847]) +- Update `Get-Service` to ignore common errors when retrieving non-critical properties for a service + ([#24245][24245]) (Thanks @jborean93!) +- Add single/double quote support for `Join-String` Argument Completer ([#25283][25283]) (Thanks + @ArmaanMcleod!) +- Remove `IsScreenReaderActive()` check from `ConsoleHost` ([#26118][26118]) +- Improve the `$using` expression support in `Invoke-Command` ([#24025][24025]) (Thanks @jborean93!) +- Change the default feedback provider timeout from 300ms to 1000ms ([#25910][25910]) +- Add support for thousands separators in `[bigint]` casting ([#25396][25396]) (Thanks + @AbishekPonmudi!) +- Add `MethodInvocation` trace for overload tracing ([#21320][21320]) (Thanks @jborean93!) +- Fix `ConvertFrom-Json` to ignore comments inside array literals ([#14553][14553]) + ([#26050][26050]) (Thanks @MatejKafka!) +- Fix `-Debug` to not trigger the `ShouldProcess` prompt ([#26081][26081]) +- Fix `Write-Host` to respect `OutputRendering = PlainText` ([#21188][21188]) +- Fix debug tracing error with magic extents ([#25726][25726]) (Thanks @jborean93!) +- Fix quoting in completion if the path includes a double quote character ([#25631][25631]) (Thanks + @MartinGC94!) +- Fix the common parameter `-ProgressAction` for advanced functions ([#24591][24591]) (Thanks + @cmkb3!) +- Fix the `NullReferenceException` when writing progress records to console from multiple threads + ([#25440][25440]) (Thanks @kborowinski!) +- Use absolute path in `FileSystemProvider.CreateDirectory` ([#24615][24615]) (Thanks @Tadas!) +- Make inherited protected internal instance members accessible in PowerShell class scope + ([#25245][25245]) (Thanks @mawosoft!) +- Add internal methods to check Preferences ([#25514][25514]) (Thanks @iSazonov!) - Add `-ExcludeModule` parameter to `Get-Command` ([#18955][18955]) (Thanks @MartinGC94!) - Return correct **FileName** property for `Get-Item` when listing alternate data streams ([#18019][18019]) (Thanks @kilasuit!) @@ -99,6 +137,19 @@ name, the **ThreadJob** v2.1.0 module is a proxy module that points to the ## Engine improvements +- Update the PSDiagnostics module to manage the PowerShellCore provider in PowerShell 7 ([#25590][25590]) +- Allow opt-out of the named-pipe listener using the environment variable + `POWERSHELL_DIAGNOSTICS_OPTOUT` ([#26086][26086]) +- Ensure that socket timeouts are set only during the token validation ([#26066][26066]) +- Fix `stderr` output of console host to respect `NO_COLOR` ([#24391][24391]) +- Update PSRP protocol to deprecate session key exchange between newer client and server + ([#25774][25774]) +- Fix the `ssh` PATH check in `SSHConnectionInfo` when the default Runspace is not available + ([#25780][25780]) (Thanks @jborean93!) +- Adding hex format for native command exit codes ([#21067][21067]) (Thanks @sba923!) +- Fix infinite loop crash in variable type inference ([#25696][25696]) (Thanks @MartinGC94!) +- Add `PSForEach` and `PSWhere` as aliases for the PowerShell intrinsic methods `Where` and + `Foreach` ([#25511][25511]) (Thanks @powercode!) - Added the AIShell module to telemetry collection list ([#24747][24747]) - Added helper in `EnumSingleTypeConverter` to get enum names as array ([#17785][17785]) (Thanks @fflaten!) @@ -118,8 +169,6 @@ name, the **ThreadJob** v2.1.0 module is a proxy module that points to the in `PowerShellStandard.Library` ([#25051][25051]) - Set standard handles explicitly when starting a process with `-NoNewWindow` ([#25061][25061]) - Fix tooltip for variable expansion and include desc ([#25112][25112]) (Thanks @jborean93!) -- Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest - ([#20409][20409]) (Thanks @MartinGC94!) - Use script filepath when completing relative paths for using statements ([#20017][20017]) (Thanks @MartinGC94!) - Allow DSC parsing through OS architecture translation layers ([#24852][24852]) (Thanks @bdeb1337!) @@ -139,6 +188,7 @@ The following experimental features are included in PowerShell 7.6-preview.3: [03]: ../learn/experimental-features.md#psserializejsonlongenumasnumber [04]: https://github.com/PowerShell/PowerShell/blob/master/CHANGELOG/preview.md +[14553]: https://github.com/PowerShell/PowerShell/pull/14553 [17687]: https://github.com/PowerShell/PowerShell/pull/17687 [17785]: https://github.com/PowerShell/PowerShell/pull/17785 [17864]: https://github.com/PowerShell/PowerShell/pull/17864 @@ -149,7 +199,7 @@ The following experimental features are included in PowerShell 7.6-preview.3: [20017]: https://github.com/PowerShell/PowerShell/pull/20017 [20330]: https://github.com/PowerShell/PowerShell/pull/20330 [20340]: https://github.com/PowerShell/PowerShell/pull/20340 -[20409]: https://github.com/PowerShell/PowerShell/pull/20409 +[21067]: https://github.com/PowerShell/PowerShell/pull/21067 [21113]: https://github.com/PowerShell/PowerShell/pull/21113 [21115]: https://github.com/PowerShell/PowerShell/pull/21115 [21117]: https://github.com/PowerShell/PowerShell/pull/21117 @@ -157,8 +207,15 @@ The following experimental features are included in PowerShell 7.6-preview.3: [21134]: https://github.com/PowerShell/PowerShell/pull/21134 [21137]: https://github.com/PowerShell/PowerShell/pull/21137 [21143]: https://github.com/PowerShell/PowerShell/pull/21143 +[21188]: https://github.com/PowerShell/PowerShell/pull/21188 +[21320]: https://github.com/PowerShell/PowerShell/pull/21320 +[24025]: https://github.com/PowerShell/PowerShell/pull/24025 [24192]: https://github.com/PowerShell/PowerShell/pull/24192 [24194]: https://github.com/PowerShell/PowerShell/pull/24194 +[24245]: https://github.com/PowerShell/PowerShell/pull/24245 +[24391]: https://github.com/PowerShell/PowerShell/pull/24391 +[24591]: https://github.com/PowerShell/PowerShell/pull/24591 +[24615]: https://github.com/PowerShell/PowerShell/pull/24615 [24620]: https://github.com/PowerShell/PowerShell/pull/24620 [24669]: https://github.com/PowerShell/PowerShell/pull/24669 [24677]: https://github.com/PowerShell/PowerShell/pull/24677 @@ -184,11 +241,39 @@ The following experimental features are included in PowerShell 7.6-preview.3: [25061]: https://github.com/PowerShell/PowerShell/pull/25061 [25076]: https://github.com/PowerShell/PowerShell/pull/25076 [25104]: https://github.com/PowerShell/PowerShell/pull/25104 +[25108]: https://github.com/PowerShell/PowerShell/pull/25108 [25112]: https://github.com/PowerShell/PowerShell/pull/25112 [25122]: https://github.com/PowerShell/PowerShell/pull/25122 [25129]: https://github.com/PowerShell/PowerShell/pull/25129 [25172]: https://github.com/PowerShell/PowerShell/pull/25172 [25177]: https://github.com/PowerShell/PowerShell/pull/25177 +[25186]: https://github.com/PowerShell/PowerShell/pull/25186 [25206]: https://github.com/PowerShell/PowerShell/pull/25206 [25211]: https://github.com/PowerShell/PowerShell/pull/25211 [25224]: https://github.com/PowerShell/PowerShell/pull/25224 +[25230]: https://github.com/PowerShell/PowerShell/pull/25230 +[25245]: https://github.com/PowerShell/PowerShell/pull/25245 +[25283]: https://github.com/PowerShell/PowerShell/pull/25283 +[25303]: https://github.com/PowerShell/PowerShell/pull/25303 +[25346]: https://github.com/PowerShell/PowerShell/pull/25346 +[25396]: https://github.com/PowerShell/PowerShell/pull/25396 +[25440]: https://github.com/PowerShell/PowerShell/pull/25440 +[25479]: https://github.com/PowerShell/PowerShell/pull/25479 +[25497]: https://github.com/PowerShell/PowerShell/pull/25497 +[25510]: https://github.com/PowerShell/PowerShell/pull/25510 +[25511]: https://github.com/PowerShell/PowerShell/pull/25511 +[25514]: https://github.com/PowerShell/PowerShell/pull/25514 +[25538]: https://github.com/PowerShell/PowerShell/pull/25538 +[25590]: https://github.com/PowerShell/PowerShell/pull/25590 +[25631]: https://github.com/PowerShell/PowerShell/pull/25631 +[25696]: https://github.com/PowerShell/PowerShell/pull/25696 +[25726]: https://github.com/PowerShell/PowerShell/pull/25726 +[25774]: https://github.com/PowerShell/PowerShell/pull/25774 +[25780]: https://github.com/PowerShell/PowerShell/pull/25780 +[25847]: https://github.com/PowerShell/PowerShell/pull/25847 +[25910]: https://github.com/PowerShell/PowerShell/pull/25910 +[26050]: https://github.com/PowerShell/PowerShell/pull/26050 +[26066]: https://github.com/PowerShell/PowerShell/pull/26066 +[26081]: https://github.com/PowerShell/PowerShell/pull/26081 +[26086]: https://github.com/PowerShell/PowerShell/pull/26086 +[26118]: https://github.com/PowerShell/PowerShell/pull/26118