Skip to content

Commit 3911611

Browse files
Merge branch 'main' into doc/new-guid-uuid-v7
2 parents e5476cf + 3be8458 commit 3911611

762 files changed

Lines changed: 182854 additions & 2066 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

redir/.openpublishing.redirection.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,17 @@
177177
},
178178
{
179179
"redirect_document_id": false,
180-
"redirect_url": "/powershell/scripting/install/install-powershell-on-linux",
180+
"redirect_url": "/powershell/scripting/install/linux-overview",
181+
"source_path": "../reference/docs-conceptual/install/install-powershell-on-linux.md"
182+
},
183+
{
184+
"redirect_document_id": false,
185+
"redirect_url": "/powershell/scripting/install/linux-overview",
181186
"source_path": "../reference/docs-conceptual/install/Installing-PowerShell-Core-on-Linux.md"
182187
},
183188
{
184189
"redirect_document_id": false,
185-
"redirect_url": "/powershell/scripting/install/install-powershell-on-linux",
190+
"redirect_url": "/powershell/scripting/install/linux-overview",
186191
"source_path": "../reference/docs-conceptual/install/Installing-PowerShell-on-Linux.md"
187192
},
188193
{

reference/5.1/CimCmdlets/New-CimSession.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ By default, the `New-CimSession` cmdlet establishes a connection with a remote W
331331
endpoint for two reasons: to verify that the remote server is listening on the port number that is
332332
specified using the **Port** parameter, and to verify the specified account credentials. The
333333
verification is accomplished using a standard WS-Identity operation. You can add the
334-
**SkipTestConnection** switch parameter if the remote WS-Management endpoint cannot use WS-Identify,
335-
or to reduce some data transmission time.
334+
**SkipTestConnection** `[switch]` parameter if the remote WS-Management endpoint cannot use
335+
WS-Identify, or to reduce some data transmission time.
336336

337337
```yaml
338338
Type: System.Management.Automation.SwitchParameter

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Archive-help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Archive
5-
ms.date: 10/06/2023
5+
ms.date: 04/01/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Expand-Archive
@@ -11,7 +11,7 @@ title: Expand-Archive
1111
# Expand-Archive
1212

1313
## SYNOPSIS
14-
Extracts files from a specified archive (zipped) file.
14+
Extracts files from a specified ZIP archive file.
1515

1616
## SYNTAX
1717

@@ -35,6 +35,13 @@ The `Expand-Archive` cmdlet extracts files from a specified zipped archive file
3535
destination folder. An archive file allows multiple files to be packaged, and optionally compressed,
3636
into a single zipped file for easier distribution and storage.
3737

38+
This cmdlet only works with zip archives, which typically have the file extension `.zip`.
39+
40+
The `Expand-Archive` cmdlet uses the **System.IO.Compression.ZipArchive** API to compress files.
41+
The API limits the maximum file size to 2GB. The .NET API works with files that conform to the
42+
official ZIP file format specification by PKWARE Inc. For more information, see
43+
[System.IO.Compression.ZipArchive](xref:System.IO.Compression.ZipArchive).
44+
3845
## EXAMPLES
3946

4047
### Example 1: Extract the contents of an archive

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: Describes variables that store state information for PowerShell. These variables are created and maintained by PowerShell.
33
Locale: en-US
4-
ms.date: 02/10/2026
4+
ms.date: 04/02/2026
55
no-loc: [Reset, Current, Background, Blink, Bold, Foreground, Formatting, Hidden, Italic, Reset, Reverse, Underline, PSEventArgs, PSEventSubscriber, PSEdition]
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
@@ -160,8 +160,8 @@ use this automatic variable to determine the file to update.
160160
Contains an array of error objects that represent the most recent errors. The
161161
most recent error is the first error object in the array `$Error[0]`.
162162

163-
To prevent an error from being added to the `$Error` array, use the
164-
**ErrorAction** common parameter with a value of **Ignore**. For more
163+
To prevent a non-terminating error from being added to the `$Error` array, use
164+
the **ErrorAction** common parameter with a value of **Ignore**. For more
165165
information, see [about_CommonParameters][53].
166166

167167
### `$Event`

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,19 +198,18 @@ The syntax diagrams use the following symbols:
198198
- Parameters with no values
199199

200200
Some parameters don't accept input, so they don't have a parameter value.
201-
Parameters without values are _switch parameters_. Switch parameters are used
202-
like boolean values. They default to `$false`. When you use a switch
203-
parameter, the value is set to `$true`.
201+
Parameters without values are _`[switch]` parameters_. `[switch]` parameters
202+
are used like boolean values. They default to `$false`. When you use a
203+
`[switch]` parameter, the value is set to `$true`.
204204

205-
For example, the **ListImported** parameter of `Get-Command` is a switch
206-
parameter. When you use the **ListImported** parameter, the cmdlet return
205+
For example, the **ListImported** parameter of `Get-Command` is a `[switch]`
206+
parameter. When you use the **ListImported** parameter, the cmdlet returns
207207
only commands that were imported from modules in the current session.
208208

209209
```Syntax
210210
Get-Command [-ListImported]
211211
```
212212

213-
<!-- So what are these `[ ]`? - square brackets, duh! -->
214213
- Brackets `[ ]` around parameters indicate optional items. A parameter and
215214
its value can be optional. For example, the **CommandType** parameter of
216215
`Get-Command` and its value are enclosed in brackets because they're both

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

Lines changed: 12 additions & 8 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: 01/18/2026
4+
ms.date: 04/02/2026
55
no-loc: [Confirm, Debug, ErrorAction, ErrorVariable, InformationAction, InformationVariable, OutBuffer, OutVariable, PipelineVariable, ProgressAction, Verbose, WarningAction, WarningVariable, WhatIf]
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
@@ -109,14 +109,13 @@ the display of debugging messages when `$DebugPreference` isn't
109109
### -ErrorAction
110110

111111
Determines how the cmdlet responds to a non-terminating error from the command.
112-
This parameter works only when the command generates a non-terminating error,
113-
such as those from the `Write-Error` cmdlet.
112+
This parameter overrides the value of the `$ErrorActionPreference` variable for
113+
non-terminating errors generated by the command or the `Write-Error` cmdlet.
114114

115115
```yaml
116116
Type: ActionPreference
117117
Aliases: ea
118-
Accepted values: Suspend, Ignore, Inquire, Continue, Stop, SilentlyContinue
119-
118+
Accepted values: Break, Suspend, Ignore, Inquire, Continue, Stop, SilentlyContinue
120119
Required: False
121120
Position: Named
122121
Default value: Depends on preference variable
@@ -129,9 +128,12 @@ variable for the current command. Because the default value of the
129128
`$ErrorActionPreference` variable is `Continue`, error messages are displayed
130129
and execution continues unless you use the `ErrorAction` parameter.
131130

132-
The `ErrorAction` parameter has no effect on terminating errors (such as
133-
missing data, parameters that aren't valid, or insufficient permissions) that
134-
prevent a command from completing successfully.
131+
The `-ErrorAction` parameter doesn't prevent statement-terminating errors
132+
(such as missing data, parameters that aren't valid, or insufficient
133+
permissions) from stopping the current statement. However, when set to `Stop`,
134+
it escalates non-terminating errors to script-terminating errors, making them
135+
catchable by `try/catch`. For more information about error categories, see
136+
[about_Error_Handling][15].
135137

136138
- `-ErrorAction:Break` Enters the debugger when an error occurs or an exception
137139
is raised.
@@ -829,6 +831,7 @@ Mode LastWriteTime Length Name
829831

830832
<!-- Using backtick on cmdlet names to avoid localization -->
831833
- [about_Preference_Variables][03]
834+
- [about_Error_Handling][15]
832835
- [`Write-Debug`][11]
833836
- [`Write-Error`][12]
834837
- [`Write-Verbose`][13]
@@ -844,4 +847,5 @@ Mode LastWriteTime Length Name
844847
[12]: xref:Microsoft.PowerShell.Utility.Write-Error
845848
[13]: xref:Microsoft.PowerShell.Utility.Write-Verbose
846849
[14]: xref:Microsoft.PowerShell.Utility.Write-Warning
850+
[15]: about_Error_Handling.md
847851

0 commit comments

Comments
 (0)