Skip to content

Commit 2ae099f

Browse files
(AB-538641) Clarify Expand-Archive only applies to zip files (#12916)
1 parent ae01078 commit 2ae099f

File tree

4 files changed

+29
-6
lines changed

4 files changed

+29
-6
lines changed

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/7.4/Microsoft.PowerShell.Archive/Expand-Archive.md

Lines changed: 3 additions & 1 deletion
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: 09/03/2024
5+
ms.date: 04/01/2026
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Expand-Archive
@@ -35,6 +35,8 @@ 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+
3840
The `Expand-Archive` cmdlet uses the **System.IO.Compression.ZipArchive** API to compress files.
3941
The API limits the maximum file size to 2GB. The .NET API works with files that conform to the
4042
official ZIP file format specification by PKWARE Inc. For more information, see

reference/7.5/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-7.5&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/7.6/Microsoft.PowerShell.Archive/Expand-Archive.md

Lines changed: 8 additions & 1 deletion
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-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Expand-Archive
@@ -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

0 commit comments

Comments
 (0)