diff --git a/reference/5.1/Microsoft.PowerShell.Archive/Expand-Archive.md b/reference/5.1/Microsoft.PowerShell.Archive/Expand-Archive.md index cb660e29469a..55698e971fcc 100644 --- a/reference/5.1/Microsoft.PowerShell.Archive/Expand-Archive.md +++ b/reference/5.1/Microsoft.PowerShell.Archive/Expand-Archive.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Archive-help.xml Locale: en-US Module Name: Microsoft.PowerShell.Archive -ms.date: 10/06/2023 +ms.date: 04/01/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Expand-Archive @@ -11,7 +11,7 @@ title: Expand-Archive # Expand-Archive ## SYNOPSIS -Extracts files from a specified archive (zipped) file. +Extracts files from a specified ZIP archive file. ## SYNTAX @@ -35,6 +35,13 @@ The `Expand-Archive` cmdlet extracts files from a specified zipped archive file destination folder. An archive file allows multiple files to be packaged, and optionally compressed, into a single zipped file for easier distribution and storage. +This cmdlet only works with zip archives, which typically have the file extension `.zip`. + +The `Expand-Archive` cmdlet uses the **System.IO.Compression.ZipArchive** API to compress files. +The API limits the maximum file size to 2GB. The .NET API works with files that conform to the +official ZIP file format specification by PKWARE Inc. For more information, see +[System.IO.Compression.ZipArchive](xref:System.IO.Compression.ZipArchive). + ## EXAMPLES ### Example 1: Extract the contents of an archive diff --git a/reference/7.4/Microsoft.PowerShell.Archive/Expand-Archive.md b/reference/7.4/Microsoft.PowerShell.Archive/Expand-Archive.md index b69f364616b1..86cc130ad8fa 100644 --- a/reference/7.4/Microsoft.PowerShell.Archive/Expand-Archive.md +++ b/reference/7.4/Microsoft.PowerShell.Archive/Expand-Archive.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Archive-help.xml Locale: en-US Module Name: Microsoft.PowerShell.Archive -ms.date: 09/03/2024 +ms.date: 04/01/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Expand-Archive @@ -35,6 +35,8 @@ The `Expand-Archive` cmdlet extracts files from a specified zipped archive file destination folder. An archive file allows multiple files to be packaged, and optionally compressed, into a single zipped file for easier distribution and storage. +This cmdlet only works with zip archives, which typically have the file extension `.zip`. + The `Expand-Archive` cmdlet uses the **System.IO.Compression.ZipArchive** API to compress files. The API limits the maximum file size to 2GB. The .NET API works with files that conform to the official ZIP file format specification by PKWARE Inc. For more information, see diff --git a/reference/7.5/Microsoft.PowerShell.Archive/Expand-Archive.md b/reference/7.5/Microsoft.PowerShell.Archive/Expand-Archive.md index 7b3e378f92fe..afcc0142f852 100644 --- a/reference/7.5/Microsoft.PowerShell.Archive/Expand-Archive.md +++ b/reference/7.5/Microsoft.PowerShell.Archive/Expand-Archive.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Archive-help.xml Locale: en-US Module Name: Microsoft.PowerShell.Archive -ms.date: 10/06/2023 +ms.date: 04/01/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: Expand-Archive @@ -11,7 +11,7 @@ title: Expand-Archive # Expand-Archive ## SYNOPSIS -Extracts files from a specified archive (zipped) file. +Extracts files from a specified ZIP archive file. ## SYNTAX @@ -35,6 +35,13 @@ The `Expand-Archive` cmdlet extracts files from a specified zipped archive file destination folder. An archive file allows multiple files to be packaged, and optionally compressed, into a single zipped file for easier distribution and storage. +This cmdlet only works with zip archives, which typically have the file extension `.zip`. + +The `Expand-Archive` cmdlet uses the **System.IO.Compression.ZipArchive** API to compress files. +The API limits the maximum file size to 2GB. The .NET API works with files that conform to the +official ZIP file format specification by PKWARE Inc. For more information, see +[System.IO.Compression.ZipArchive](xref:System.IO.Compression.ZipArchive). + ## EXAMPLES ### Example 1: Extract the contents of an archive diff --git a/reference/7.6/Microsoft.PowerShell.Archive/Expand-Archive.md b/reference/7.6/Microsoft.PowerShell.Archive/Expand-Archive.md index b8475a354012..3812197d7811 100644 --- a/reference/7.6/Microsoft.PowerShell.Archive/Expand-Archive.md +++ b/reference/7.6/Microsoft.PowerShell.Archive/Expand-Archive.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Archive-help.xml Locale: en-US Module Name: Microsoft.PowerShell.Archive -ms.date: 10/06/2023 +ms.date: 04/01/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive?view=powershell-7.6&WT.mc_id=ps-gethelp schema: 2.0.0 title: Expand-Archive @@ -35,6 +35,13 @@ The `Expand-Archive` cmdlet extracts files from a specified zipped archive file destination folder. An archive file allows multiple files to be packaged, and optionally compressed, into a single zipped file for easier distribution and storage. +This cmdlet only works with zip archives, which typically have the file extension `.zip`. + +The `Expand-Archive` cmdlet uses the **System.IO.Compression.ZipArchive** API to compress files. +The API limits the maximum file size to 2GB. The .NET API works with files that conform to the +official ZIP file format specification by PKWARE Inc. For more information, see +[System.IO.Compression.ZipArchive](xref:System.IO.Compression.ZipArchive). + ## EXAMPLES ### Example 1: Extract the contents of an archive