Updates from: 02/11/2021 04:23:40
Service Microsoft Docs article Related commit history on GitHub Change details
learn https://docs.microsoft.com/en-us/powershell/scripting/learn/experimental-features https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/learn/experimental-features.md
@@ -39,6 +39,7 @@ This article describes the experimental features that are available and how to u
| PSCultureInvariantReplaceOperator | | | ✓ | ✓ | | PSNotApplyErrorActionToStderr | | | ✓ | ✓ | | PSSubsystemPluginModel | | | ✓ | ✓ |
+| PSAnsiProgress | | | | ✓ |
| PSAnsiRendering | | | | ✓ | ## Microsoft.PowerShell.Utility.PSManageBreakpointsInRunspace
@@ -132,6 +133,26 @@ formatting system is updated to respect `$PSStyle.OutputRendering`.
- `string ToString(bool Ansi)` method returns the raw ANSI embedded string if the `Ansi` parameter is true. Otherwise, a plaintext version with ANSI escape sequences removed is returned.
+## PSAnsiProgress
+
+This experiment was added in PowerShell 7.2. The feature adds the `$PSStyle.Progress` member and
+allows you to control progress view bar rendering.
+
+- `$PSStyle.Progress.Style` - An ANSI string setting the rendering style.
+- `$PSStyle.Progress.MaxWidth` - Sets the max width of the view. Set to `0` for console width.
+ Defaults to `120`
+- `$PSStyle.Progress.View` - An enum with values, `Minimal` and `Classic`. `Classic` is the existing
+ rendering with no changes. `Minimal` is a single line minimal rendering. `Minimal` is the default.
+
+The following example updates the rendering style to a minimal progress bar.
+
+```powershell
+$PSStyle.Progress.View.Minimal
+```
+
+> [!NOTE]
+> You must have the **PSAnsiRendering** experimental feature enabled to use this feature.
+ ## PSCommandNotFoundSuggestion Recommends potential commands based on fuzzy matching search after a **CommandNotFoundException**.
windows-powershell https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/Keyboard-Shortcuts-for-the-Windows-PowerShell-ISE https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/windows-powershell/ise/Keyboard-Shortcuts-for-the-Windows-PowerShell-ISE.md
@@ -16,23 +16,25 @@ of the
You can use the following keyboard shortcuts when you edit text.
-| Action | Keyboard Shortcuts | Use in |
-| -- | | |
-| **Help** | <kbd>F1</kbd> | Script Pane **Important:** You can specify that <kbd>F1</kbd> help comes from docs.microsoft.com or downloaded Help (see `Update-Help`). To select, click **Tools**, **Options**, then on the **General Settings** tab, set or clear **Use local help content instead of online content.** |
-| **Copy** | <kbd>CTRL</kbd>+<kbd>C</kbd> | Script Pane, Command Pane, Output Pane |
-| **Cut** | <kbd>CTRL</kbd>+<kbd>X</kbd> | Script Pane, Command Pane |
-| **Expand or Collapse Outlining** | <kbd>CTRL</kbd>+<kbd>M</kbd> | Script Pane |
-| **Find in Script** | <kbd>CTRL</kbd>+<kbd>F</kbd> | Script Pane |
-| **Find Next in Script** | <kbd>F3</kbd> | Script Pane |
-| **Find Previous in Script** | <kbd>SHIFT</kbd>+<kbd>F3</kbd> | Script Pane |
-| **Find Matching Brace** | <kbd>CTRL</kbd>+<kbd>]</kbd> | Script Pane |
-| **Paste** | <kbd>CTRL</kbd>+<kbd>V</kbd> | Script Pane, Command Pane |
-| **Redo** | <kbd>CTRL</kbd>+<kbd>Y</kbd> | Script Pane, Command Pane |
-| **Replace in Script** | <kbd>CTRL</kbd>+<kbd>H</kbd> | Script Pane |
-| **Save** | <kbd>CTRL</kbd>+<kbd>S</kbd> | Script Pane |
-| **Select All** | <kbd>CTRL</kbd>+<kbd>A</kbd> | Script Pane, Command Pane, Output Pane |
-| **Show Snippets** | <kbd>CTRL</kbd>+<kbd>J</kbd> | Script Pane, Command Pane |
-| **Undo** | <kbd>CTRL</kbd>+<kbd>Z</kbd> | Script Pane, Command Pane |
+| Action | Keyboard Shortcuts | Use in |
+| -- | | |
+| **Help** | <kbd>F1</kbd> | Script Pane **Important:** You can specify that <kbd>F1</kbd> help comes from docs.microsoft.com or downloaded Help (see `Update-Help`). To select, click **Tools**, **Options**, then on the **General Settings** tab, set or clear **Use local help content instead of online content.** |
+| **Copy** | <kbd>CTRL</kbd>+<kbd>C</kbd> | Script Pane, Command Pane, Output Pane |
+| **Cut** | <kbd>CTRL</kbd>+<kbd>X</kbd> | Script Pane, Command Pane |
+| **Expand or Collapse Outlining** | <kbd>CTRL</kbd>+<kbd>M</kbd> | Script Pane |
+| **Find in Script** | <kbd>CTRL</kbd>+<kbd>F</kbd> | Script Pane |
+| **Find Next in Script** | <kbd>F3</kbd> | Script Pane |
+| **Find Previous in Script** | <kbd>SHIFT</kbd>+<kbd>F3</kbd> | Script Pane |
+| **Find Matching Brace** | <kbd>CTRL</kbd>+<kbd>]</kbd> | Script Pane |
+| **Paste** | <kbd>CTRL</kbd>+<kbd>V</kbd> | Script Pane, Command Pane |
+| **Make Lowercase** | <kbd>CTRL</kbd>+<kbd>U</kbd> | Script Pane, Command Pane |
+| **Make Uppercase** | <kbd>CTRL</kbd>+<kbd>SHIFT</kbd>+<kbd>U</kbd> | Script Pane, Command Pane |
+| **Redo** | <kbd>CTRL</kbd>+<kbd>Y</kbd> | Script Pane, Command Pane |
+| **Replace in Script** | <kbd>CTRL</kbd>+<kbd>H</kbd> | Script Pane |
+| **Save** | <kbd>CTRL</kbd>+<kbd>S</kbd> | Script Pane |
+| **Select All** | <kbd>CTRL</kbd>+<kbd>A</kbd> | Script Pane, Command Pane, Output Pane |
+| **Show Snippets** | <kbd>CTRL</kbd>+<kbd>J</kbd> | Script Pane, Command Pane |
+| **Undo** | <kbd>CTRL</kbd>+<kbd>Z</kbd> | Script Pane, Command Pane |
## Keyboard shortcuts for running scripts
module https://docs.microsoft.com/en-us/powershell/scriptingreference/module/index https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/module/index.md
@@ -14,7 +14,7 @@ archive_url: ''
layout: ApiBrowserPage apiPlatform: powershell quickFilterColumn1: powershell-7.1,win10-ps
-quickFilterColumn2: azps-5.4.0,win-mdop2-ps
+quickFilterColumn2: azps-5.5.0,win-mdop2-ps
quickFilterColumn3: sqlserver-ps,systemcenter-ps-2019