Skip to content

Commit d21408c

Browse files
Merge pull request #12573 from MicrosoftDocs/main
Auto Publish – main to live - 2025-12-09 23:00 UTC
2 parents 06e451f + 4b34925 commit d21408c

33 files changed

+649
-625
lines changed

reference/5.1/Microsoft.PowerShell.Core/About/about_CommonParameters.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the parameters that can be used with any cmdlet.
33
Locale: en-US
4-
ms.date: 09/29/2025
4+
ms.date: 12/09/2025
55
no-loc: [Debug, Verbose, Confirm]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -37,18 +37,18 @@ For more information, see [about_Preference_Variables][03].
3737
The following list displays the common parameters. Their aliases are listed in
3838
parentheses.
3939

40-
- `Debug` (db)
41-
- `ErrorAction` (ea)
42-
- `ErrorVariable` (ev)
43-
- `InformationAction` (infa)
44-
- `InformationVariable` (iv)
45-
- `OutVariable` (ov)
46-
- `OutBuffer` (ob)
47-
- `PipelineVariable` (pv)
48-
- `ProgressAction` (proga)
49-
- `Verbose` (vb)
50-
- `WarningAction` (wa)
51-
- `WarningVariable` (wv)
40+
- `Debug` (`db`)
41+
- `ErrorAction` (`ea`)
42+
- `ErrorVariable` (`ev`)
43+
- `InformationAction` (`infa`)
44+
- `InformationVariable` (`iv`)
45+
- `OutVariable` (`ov`)
46+
- `OutBuffer` (`ob`)
47+
- `PipelineVariable` (`pv`)
48+
- `ProgressAction` (`proga`)
49+
- `Verbose` (`vb`)
50+
- `WarningAction` (`wa`)
51+
- `WarningVariable` (`wv`)
5252

5353
The **Action** parameters are `ActionPreference` type values.
5454
`ActionPreference` is an enumeration with the following values:
@@ -827,11 +827,12 @@ Mode LastWriteTime Length Name
827827

828828
## See also
829829

830+
<!-- Using backtick on cmdlet names to avoid localization -->
830831
- [about_Preference_Variables][03]
831-
- [Write-Debug][11]
832-
- [Write-Error][12]
833-
- [Write-Verbose][13]
834-
- [Write-Warning][14]
832+
- [`Write-Debug`][11]
833+
- [`Write-Error`][12]
834+
- [`Write-Verbose`][13]
835+
- [`Write-Warning`][14]
835836

836837
<!-- link references -->
837838
[02]: about_Automatic_Variables.md

reference/5.1/Microsoft.PowerShell.Core/About/about_Output_Streams.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Explains the availability and purpose of output streams in PowerShell.
33
Locale: en-US
4-
ms.date: 01/22/2023
4+
ms.date: 12/09/2025
55
no-loc: [Success, Error, Warning, Verbose, Debug, Information, Progress]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_output_streams?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -102,16 +102,17 @@ support redirection.
102102

103103
## See also
104104

105+
<!-- Using backtick on cmdlet names to avoid localization -->
105106
- [about_CommonParameters][02]
106107
- [about_Redirection][03]
107-
- [Write-Debug][04]
108-
- [Write-Error][05]
109-
- [Write-Host][06]
110-
- [Write-Information][07]
111-
- [Write-Output][08]
112-
- [Write-Progress][09]
113-
- [Write-Verbose][10]
114-
- [Write-Warning][11]
108+
- [`Write-Debug`][04]
109+
- [`Write-Error`][05]
110+
- [`Write-Host`][06]
111+
- [`Write-Information`][07]
112+
- [`Write-Output`][08]
113+
- [`Write-Progress`][09]
114+
- [`Write-Verbose`][10]
115+
- [`Write-Warning`][11]
115116

116117
<!-- link references -->
117118
[01]: about_Automatic_Variables.md

reference/7.4/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the features of PowerShell that use ANSI escape sequences and the terminal hosts that support them.
33
Locale: en-US
4-
ms.date: 08/27/2024
4+
ms.date: 12/09/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_ansi_terminals?view=powershell-7.4&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_ANSI_Terminals
@@ -183,8 +183,23 @@ The following members control how or when ANSI formatting is used:
183183
- **SymbolicLink** - Built-in member to specify color for symbolic links
184184
- **Executable** - Built-in member to specify color for executables.
185185
- **Extension** - Use this member to define colors for different file
186-
extensions. The **Extension** member pre-includes extensions for archive
187-
and PowerShell files.
186+
extensions. The **Extension** member predefines colors for archive and
187+
PowerShell file extensions.
188+
189+
The following example shows how to change the colors for various `FileInfo`
190+
settings and specific file extensions. The colors are chosen to work well
191+
on a light terminal background.
192+
193+
```powershell
194+
$PSStyle.FileInfo.Directory = $PSStyle.Background.FromRgb(0x2f6aff) +
195+
$PSStyle.Foreground.BrightWhite
196+
$PSStyle.FileInfo.SymbolicLink = $PSStyle.Foreground.Cyan
197+
$PSStyle.FileInfo.Executable = $PSStyle.Foreground.BrightMagenta
198+
$PSStyle.FileInfo.Extension['.ps1'] = $PSStyle.Foreground.Cyan
199+
$PSStyle.FileInfo.Extension['.ps1xml'] = $PSStyle.Foreground.Cyan
200+
$PSStyle.FileInfo.Extension['.psd1'] = $PSStyle.Foreground.Cyan
201+
$PSStyle.FileInfo.Extension['.psm1'] = $PSStyle.Foreground.Cyan
202+
```
188203
189204
## Cmdlets that generate ANSI output
190205

reference/7.4/Microsoft.PowerShell.Core/About/about_CommonParameters.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the parameters that can be used with any cmdlet.
33
Locale: en-US
4-
ms.date: 09/29/2025
4+
ms.date: 12/09/2025
55
no-loc: [Debug, Verbose, Confirm]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -37,18 +37,18 @@ For more information, see [about_Preference_Variables][03].
3737
The following list displays the common parameters. Their aliases are listed in
3838
parentheses.
3939

40-
- `Debug` (db)
41-
- `ErrorAction` (ea)
42-
- `ErrorVariable` (ev)
43-
- `InformationAction` (infa)
44-
- `InformationVariable` (iv)
45-
- `OutVariable` (ov)
46-
- `OutBuffer` (ob)
47-
- `PipelineVariable` (pv)
48-
- `ProgressAction` (proga)
49-
- `Verbose` (vb)
50-
- `WarningAction` (wa)
51-
- `WarningVariable` (wv)
40+
- `Debug` (`db`)
41+
- `ErrorAction` (`ea`)
42+
- `ErrorVariable` (`ev`)
43+
- `InformationAction` (`infa`)
44+
- `InformationVariable` (`iv`)
45+
- `OutVariable` (`ov`)
46+
- `OutBuffer` (`ob`)
47+
- `PipelineVariable` (`pv`)
48+
- `ProgressAction` (`proga`)
49+
- `Verbose` (`vb`)
50+
- `WarningAction` (`wa`)
51+
- `WarningVariable` (`wv`)
5252

5353
The **Action** parameters are `ActionPreference` type values.
5454
`ActionPreference` is an enumeration with the following values:
@@ -815,11 +815,12 @@ Mode LastWriteTime Length Name
815815

816816
## See also
817817

818+
<!-- Using backtick on cmdlet names to avoid localization -->
818819
- [about_Preference_Variables][03]
819-
- [Write-Debug][11]
820-
- [Write-Error][12]
821-
- [Write-Verbose][13]
822-
- [Write-Warning][14]
820+
- [`Write-Debug`][11]
821+
- [`Write-Error`][12]
822+
- [`Write-Verbose`][13]
823+
- [`Write-Warning`][14]
823824

824825
<!-- link references -->
825826
[02]: about_Automatic_Variables.md

reference/7.4/Microsoft.PowerShell.Core/About/about_Output_Streams.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Explains the availability and purpose of output streams in PowerShell.
33
Locale: en-US
4-
ms.date: 01/22/2023
4+
ms.date: 12/09/2025
55
no-loc: [Success, Error, Warning, Verbose, Debug, Information, Progress]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_output_streams?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -102,16 +102,17 @@ support redirection.
102102

103103
## See also
104104

105+
<!-- Using backtick on cmdlet names to avoid localization -->
105106
- [about_CommonParameters][02]
106107
- [about_Redirection][03]
107-
- [Write-Debug][04]
108-
- [Write-Error][05]
109-
- [Write-Host][06]
110-
- [Write-Information][07]
111-
- [Write-Output][08]
112-
- [Write-Progress][09]
113-
- [Write-Verbose][10]
114-
- [Write-Warning][11]
108+
- [`Write-Debug`][04]
109+
- [`Write-Error`][05]
110+
- [`Write-Host`][06]
111+
- [`Write-Information`][07]
112+
- [`Write-Output`][08]
113+
- [`Write-Progress`][09]
114+
- [`Write-Verbose`][10]
115+
- [`Write-Warning`][11]
115116

116117
<!-- link references -->
117118
[01]: about_Automatic_Variables.md

reference/7.5/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the features of PowerShell that use ANSI escape sequences and the terminal hosts that support them.
33
Locale: en-US
4-
ms.date: 08/27/2024
4+
ms.date: 12/09/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_ansi_terminals?view=powershell-7.5&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_ANSI_Terminals
@@ -183,8 +183,23 @@ The following members control how or when ANSI formatting is used:
183183
- **SymbolicLink** - Built-in member to specify color for symbolic links
184184
- **Executable** - Built-in member to specify color for executables.
185185
- **Extension** - Use this member to define colors for different file
186-
extensions. The **Extension** member pre-includes extensions for archive
187-
and PowerShell files.
186+
extensions. The **Extension** member predefines colors for archive and
187+
PowerShell file extensions.
188+
189+
The following example shows how to change the colors for various `FileInfo`
190+
settings and specific file extensions. The colors are chosen to work well
191+
on a light terminal background.
192+
193+
```powershell
194+
$PSStyle.FileInfo.Directory = $PSStyle.Background.FromRgb(0x2f6aff) +
195+
$PSStyle.Foreground.BrightWhite
196+
$PSStyle.FileInfo.SymbolicLink = $PSStyle.Foreground.Cyan
197+
$PSStyle.FileInfo.Executable = $PSStyle.Foreground.BrightMagenta
198+
$PSStyle.FileInfo.Extension['.ps1'] = $PSStyle.Foreground.Cyan
199+
$PSStyle.FileInfo.Extension['.ps1xml'] = $PSStyle.Foreground.Cyan
200+
$PSStyle.FileInfo.Extension['.psd1'] = $PSStyle.Foreground.Cyan
201+
$PSStyle.FileInfo.Extension['.psm1'] = $PSStyle.Foreground.Cyan
202+
```
188203
189204
## Cmdlets that generate ANSI output
190205

reference/7.5/Microsoft.PowerShell.Core/About/about_CommonParameters.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the parameters that can be used with any cmdlet.
33
Locale: en-US
4-
ms.date: 09/29/2025
4+
ms.date: 12/09/2025
55
no-loc: [Debug, Verbose, Confirm]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -37,18 +37,18 @@ For more information, see [about_Preference_Variables][03].
3737
The following list displays the common parameters. Their aliases are listed in
3838
parentheses.
3939

40-
- `Debug` (db)
41-
- `ErrorAction` (ea)
42-
- `ErrorVariable` (ev)
43-
- `InformationAction` (infa)
44-
- `InformationVariable` (iv)
45-
- `OutVariable` (ov)
46-
- `OutBuffer` (ob)
47-
- `PipelineVariable` (pv)
48-
- `ProgressAction` (proga)
49-
- `Verbose` (vb)
50-
- `WarningAction` (wa)
51-
- `WarningVariable` (wv)
40+
- `Debug` (`db`)
41+
- `ErrorAction` (`ea`)
42+
- `ErrorVariable` (`ev`)
43+
- `InformationAction` (`infa`)
44+
- `InformationVariable` (`iv`)
45+
- `OutVariable` (`ov`)
46+
- `OutBuffer` (`ob`)
47+
- `PipelineVariable` (`pv`)
48+
- `ProgressAction` (`proga`)
49+
- `Verbose` (`vb`)
50+
- `WarningAction` (`wa`)
51+
- `WarningVariable` (`wv`)
5252

5353
The **Action** parameters are `ActionPreference` type values.
5454
`ActionPreference` is an enumeration with the following values:
@@ -815,11 +815,12 @@ Mode LastWriteTime Length Name
815815

816816
## See also
817817

818+
<!-- Using backtick on cmdlet names to avoid localization -->
818819
- [about_Preference_Variables][03]
819-
- [Write-Debug][11]
820-
- [Write-Error][12]
821-
- [Write-Verbose][13]
822-
- [Write-Warning][14]
820+
- [`Write-Debug`][11]
821+
- [`Write-Error`][12]
822+
- [`Write-Verbose`][13]
823+
- [`Write-Warning`][14]
823824

824825
<!-- link references -->
825826
[02]: about_Automatic_Variables.md

reference/7.5/Microsoft.PowerShell.Core/About/about_Output_Streams.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Explains the availability and purpose of output streams in PowerShell.
33
Locale: en-US
4-
ms.date: 01/22/2023
4+
ms.date: 12/09/2025
55
no-loc: [Success, Error, Warning, Verbose, Debug, Information, Progress]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_output_streams?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -102,16 +102,17 @@ support redirection.
102102

103103
## See also
104104

105+
<!-- Using backtick on cmdlet names to avoid localization -->
105106
- [about_CommonParameters][02]
106107
- [about_Redirection][03]
107-
- [Write-Debug][04]
108-
- [Write-Error][05]
109-
- [Write-Host][06]
110-
- [Write-Information][07]
111-
- [Write-Output][08]
112-
- [Write-Progress][09]
113-
- [Write-Verbose][10]
114-
- [Write-Warning][11]
108+
- [`Write-Debug`][04]
109+
- [`Write-Error`][05]
110+
- [`Write-Host`][06]
111+
- [`Write-Information`][07]
112+
- [`Write-Output`][08]
113+
- [`Write-Progress`][09]
114+
- [`Write-Verbose`][10]
115+
- [`Write-Warning`][11]
115116

116117
<!-- link references -->
117118
[01]: about_Automatic_Variables.md

reference/7.6/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the features of PowerShell that use ANSI escape sequences and the terminal hosts that support them.
33
Locale: en-US
4-
ms.date: 08/27/2024
4+
ms.date: 12/09/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_ansi_terminals?view=powershell-7.6&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_ANSI_Terminals
@@ -183,8 +183,23 @@ The following members control how or when ANSI formatting is used:
183183
- **SymbolicLink** - Built-in member to specify color for symbolic links
184184
- **Executable** - Built-in member to specify color for executables.
185185
- **Extension** - Use this member to define colors for different file
186-
extensions. The **Extension** member pre-includes extensions for archive
187-
and PowerShell files.
186+
extensions. The **Extension** member predefines colors for archive and
187+
PowerShell file extensions.
188+
189+
The following example shows how to change the colors for various `FileInfo`
190+
settings and specific file extensions. The colors are chosen to work well
191+
on a light terminal background.
192+
193+
```powershell
194+
$PSStyle.FileInfo.Directory = $PSStyle.Background.FromRgb(0x2f6aff) +
195+
$PSStyle.Foreground.BrightWhite
196+
$PSStyle.FileInfo.SymbolicLink = $PSStyle.Foreground.Cyan
197+
$PSStyle.FileInfo.Executable = $PSStyle.Foreground.BrightMagenta
198+
$PSStyle.FileInfo.Extension['.ps1'] = $PSStyle.Foreground.Cyan
199+
$PSStyle.FileInfo.Extension['.ps1xml'] = $PSStyle.Foreground.Cyan
200+
$PSStyle.FileInfo.Extension['.psd1'] = $PSStyle.Foreground.Cyan
201+
$PSStyle.FileInfo.Extension['.psm1'] = $PSStyle.Foreground.Cyan
202+
```
188203
189204
## Cmdlets that generate ANSI output
190205

0 commit comments

Comments
 (0)