Skip to content

Commit 61eda79

Browse files
authored
Merge pull request #11711 from MicrosoftDocs/main
1/20/2025 PM Publish
2 parents 62a101d + 6c72518 commit 61eda79

33 files changed

+189
-170
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the operators that compare values in PowerShell.
33
Locale: en-US
4-
ms.date: 06/06/2024
4+
ms.date: 01/19/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-5.1&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Comparison_Operators
@@ -44,8 +44,8 @@ specified patterns. PowerShell includes the following comparison operators:
4444
- `-contains`, `-icontains`, `-ccontains` - collection contains a value
4545
- `-notcontains`, `-inotcontains`, `-cnotcontains` - collection doesn't
4646
contain a value
47-
- `-in` - value is in a collection
48-
- `-notin` - value isn't in a collection
47+
- `-in`, `-iin`, `-cin` - value is in a collection
48+
- `-notin`, `-inotin`, `-cnotin` - value isn't in a collection
4949

5050
**Type**
5151

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to create, use, and sort hashtables in PowerShell.
33
Locale: en-US
4-
ms.date: 09/04/2024
4+
ms.date: 01/19/2025
55
no-loc: [iDictionary, Hashtable, OrderedDictionary, System.Collections.IDictionary, System.Collections.Hashtable]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_hash_tables?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -274,7 +274,7 @@ member notation or array index notation.
274274
3
275275
276276
PS> $hash[2]
277-
2
277+
two
278278
```
279279

280280
In this example, the key value `2` isn't an index into the collection of

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes the operators that compare values in PowerShell.
33
Locale: en-US
4-
ms.date: 06/06/2024
4+
ms.date: 01/19/2025
55
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comparison_operators?view=powershell-7.4&WT.mc_id=ps-gethelp
66
schema: 2.0.0
77
title: about_Comparison_Operators
@@ -44,8 +44,8 @@ specified patterns. PowerShell includes the following comparison operators:
4444
- `-contains`, `-icontains`, `-ccontains` - collection contains a value
4545
- `-notcontains`, `-inotcontains`, `-cnotcontains` - collection doesn't
4646
contain a value
47-
- `-in` - value is in a collection
48-
- `-notin` - value isn't in a collection
47+
- `-in`, `-iin`, `-cin` - value is in a collection
48+
- `-notin`, `-inotin`, `-cnotin` - value isn't in a collection
4949

5050
**Type**
5151

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes how to create, use, and sort hashtables in PowerShell.
33
Locale: en-US
4-
ms.date: 09/04/2024
4+
ms.date: 01/19/2025
55
no-loc: [iDictionary, Hashtable, OrderedDictionary, System.Collections.IDictionary, System.Collections.Hashtable]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_hash_tables?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -274,7 +274,7 @@ member notation or array index notation.
274274
3
275275
276276
PS> $hash[2]
277-
2
277+
two
278278
```
279279

280280
In this example, the key value `2` isn't an index into the collection of

reference/7.4/Microsoft.PowerShell.Management/Test-Connection.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 12/01/2023
5+
ms.date: 01/18/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/test-connection?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Test-Connection
@@ -593,10 +593,9 @@ When you use the **Detailed** parameter, this cmdlet returns a
593593

594594
## NOTES
595595

596-
On Linux, using the **BufferSize** parameter or any combination of parameters with the
597-
**MtuSizeDetect** parameter set that results in a non-default buffer size of 32 bytes may require
598-
`sudo`. In those cases, `Test-Command` raises an exception with a message indicating that `sudo` is
599-
required.
596+
On Linux, using the **BufferSize** parameter or any combination of parameters with the **MtuSize**
597+
parameter set that results in a non-default buffer size of 32 bytes may require `sudo`. In those
598+
cases, `Test-Command` raises an exception with a message indicating that `sudo` is required.
600599

601600
## RELATED LINKS
602601

reference/7.5/Microsoft.PowerShell.Archive/Expand-Archive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,4 @@ different than the source filename stored in the archive.
210210

211211
## RELATED LINKS
212212

213-
[Compress-Archive](compress-archive.md)
213+
[Compress-Archive](Compress-Archive.md)

reference/7.5/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ title: Microsoft.PowerShell.Archive
1313

1414
## Description
1515

16-
This section contains the help topics for the cmdlets that are installed with the PowerShell Microsoft.PowerShell.Archive module. The Archive module contains cmdlets that let you create and extract archive or ZIP files.
16+
This section contains the help topics for the cmdlets that are installed with the PowerShell
17+
Microsoft.PowerShell.Archive module. The Archive module contains cmdlets that let you create and
18+
extract archive or ZIP files.
1719

1820
## Microsoft.PowerShell.Archive Cmdlets
1921

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ The following values of `$env:TERM` change the behavior as follows:
253253

254254
- `dumb` - sets `$Host.UI.SupportsVirtualTerminal = $false`
255255
- `xterm-mono` - sets `$PSStyle.OutputRendering = PlainText`
256-
- `xtermm` - sets `$PSStyle.OutputRendering = PlainText`
256+
- `xterm` - sets `$PSStyle.OutputRendering = PlainText`
257257

258258
If `$env:NO_COLOR` exists, then `$PSStyle.OutputRendering` is set to
259259
**PlainText**. For more information about the **NO_COLOR** environment

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

Lines changed: 40 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -40,28 +40,27 @@ The aliases have no child items.
4040
The **Alias** provider supports the following cmdlets, which are covered
4141
in this article.
4242

43-
- [Get-Location](xref:Microsoft.PowerShell.Management.Get-Location)
44-
- [Set-Location](xref:Microsoft.PowerShell.Management.Set-Location)
45-
- [Get-Item](xref:Microsoft.PowerShell.Management.Get-Item)
46-
- [New-Item](xref:Microsoft.PowerShell.Management.New-Item)
47-
- [Remove-Item](xref:Microsoft.PowerShell.Management.Remove-Item)
48-
- [Clear-Item](xref:Microsoft.PowerShell.Management.Clear-Item)
43+
- [Get-Location][01]
44+
- [Set-Location][02]
45+
- [Get-Item][03]
46+
- [New-Item][04]
47+
- [Remove-Item][05]
48+
- [Clear-Item][06]
4949

5050
PowerShell includes a set of cmdlets that are designed to view and to change
5151
aliases. When you use **Alias** cmdlets, you do not need to specify the
5252
`Alias:` drive in the name. This article does not cover working with **Alias**
5353
cmdlets.
5454

55-
- [Export-Alias](xref:Microsoft.PowerShell.Utility.Export-Alias)
56-
- [Get-Alias](xref:Microsoft.PowerShell.Utility.Get-Alias)
57-
- [Import-Alias](xref:Microsoft.PowerShell.Utility.Import-Alias)
58-
- [New-Alias](xref:Microsoft.PowerShell.Utility.New-Alias)
59-
- [Set-Alias](xref:Microsoft.PowerShell.Utility.Set-Alias)
55+
- [Export-Alias][07]
56+
- [Get-Alias][08]
57+
- [Import-Alias][09]
58+
- [New-Alias][10]
59+
- [Set-Alias][11]
6060

6161
## Types exposed by this provider
6262

63-
Each alias is an instance of the
64-
[System.Management.Automation.AliasInfo](/dotnet/api/system.management.automation.aliasinfo)
63+
Each alias is an instance of the [System.Management.Automation.AliasInfo][12]
6564
class.
6665

6766
## Navigating the Alias drive
@@ -87,11 +86,8 @@ path.
8786
> [!NOTE]
8887
> PowerShell uses aliases to allow you a familiar way to work with provider
8988
> paths. Commands such as `dir` and `ls` are now aliases on Windows and `dir`
90-
> on Linux and macOS for [Get-ChildItem](xref:Microsoft.PowerShell.Management.Get-ChildItem),
91-
> `cd` is an alias for
92-
> [Set-Location](xref:Microsoft.PowerShell.Management.Set-Location). and `pwd`
93-
> is an alias for
94-
> [Get-Location](xref:Microsoft.PowerShell.Management.Get-Location).
89+
> on Linux and macOS for [Get-ChildItem][13], `cd` is an alias for
90+
> [Set-Location][02] and `pwd` is an alias for [Get-Location][01].
9591
9692
### Displaying the Contents of the Alias: drive
9793

@@ -198,7 +194,7 @@ cmdlet. The `-Options` parameter is available in `Set-Item` when you use it
198194
with the **Alias** or **Function** provider.
199195

200196
```powershell
201-
Set-Item -Path Alias:dir -Options "AllScope,ReadOnly"
197+
Set-Item -Path Alias:dir -Options "AllScope, ReadOnly"
202198
```
203199

204200
### Change an aliases referenced command
@@ -293,8 +289,8 @@ Determines the value of the **Options** property of an alias.
293289

294290
#### Cmdlets supported
295291

296-
- [New-Item](xref:Microsoft.PowerShell.Management.New-Item)
297-
- [Set-Item](xref:Microsoft.PowerShell.Management.Set-Item)
292+
- [New-Item][04]
293+
- [Set-Item][14]
298294

299295
## Using the pipeline
300296

@@ -309,10 +305,8 @@ Beginning in Windows PowerShell 3.0, you can get customized help topics for
309305
provider cmdlets that explain how those cmdlets behave in a file system drive.
310306

311307
To get the help topics that are customized for the file system drive, run a
312-
[Get-Help](xref:Microsoft.PowerShell.Core.Get-Help) command in a file system
313-
drive or use the `-Path` parameter of
314-
[Get-Help](xref:Microsoft.PowerShell.Core.Get-Help) to specify a file system
315-
drive.
308+
[Get-Help][15] command in a file system drive or use the `-Path` parameter of
309+
[Get-Help][15] to specify a file system drive.
316310

317311
```powershell
318312
Get-Help Get-ChildItem
@@ -324,5 +318,24 @@ Get-Help Get-ChildItem -Path alias:
324318

325319
## See also
326320

327-
- [about_Aliases](about_Aliases.md)
328-
- [about_Providers](about_Providers.md)
321+
- [about_Aliases][16]
322+
- [about_Providers][17]
323+
324+
<!-- External links -->
325+
[01]: xref:Microsoft.PowerShell.Management.Get-Location
326+
[02]: xref:Microsoft.PowerShell.Management.Set-Location
327+
[03]: xref:Microsoft.PowerShell.Management.Get-Item
328+
[04]: xref:Microsoft.PowerShell.Management.New-Item
329+
[05]: xref:Microsoft.PowerShell.Management.Remove-Item
330+
[06]: xref:Microsoft.PowerShell.Management.Clear-Item
331+
[07]: xref:Microsoft.PowerShell.Utility.Export-Alias
332+
[08]: xref:Microsoft.PowerShell.Utility.Get-Alias
333+
[09]: xref:Microsoft.PowerShell.Utility.Import-Alias
334+
[10]: xref:Microsoft.PowerShell.Utility.New-Alias
335+
[11]: xref:Microsoft.PowerShell.Utility.Set-Alias
336+
[12]: /dotnet/api/system.management.automation.aliasinfo
337+
[13]: xref:Microsoft.PowerShell.Management.Get-ChildItem
338+
[14]: xref:Microsoft.PowerShell.Management.Set-Item
339+
[15]: xref:Microsoft.PowerShell.Core.Get-Help
340+
[16]: about_Aliases.md
341+
[17]: about_Providers.md

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ in the current session, type:
129129
Get-Alias
130130
```
131131

132-
To get particular aliases, use the Name parameter of the `Get-Alias` cmdlet. For
133-
example, to get aliases that begin with "p", type:
132+
To get particular aliases, use the Name parameter of the `Get-Alias` cmdlet.
133+
For example, to get aliases that begin with "p", type:
134134

135135
```powershell
136136
Get-Alias -Name p*

0 commit comments

Comments
 (0)