MicrosoftDocs / PowerShell-Docs

The official PowerShell documentation sources
https://learn.microsoft.com/powershell
Other
1.97k stars 1.56k forks source link

Compress-Archive -Path description does not have wildcard * appearing #11108

Closed Liturgist closed 4 months ago

Liturgist commented 4 months ago

Prerequisites

Links

https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.4/Microsoft.PowerShell.Archive/Compress-Archive.md#-path

Summary

The wildcard * character does not appear when using help Compress-Archive for the -Path parameter in a PowerShell console.

) wildcard. For example: `-Path C:\Reference\ ` - To create an archive that only zips the files in the root directory, use the star-dot-star (` . `)
        wildcard. Subdirectories of the root aren't included in the archive. For example:   `-Path C:\Reference\ . 

Details

Caption             : Microsoft Windows 10 Pro
Version             : 10.0.19045
PSVersion           : 7.4.2
DisplayVersion      : 22H2
OSArchitecture      : 64-bit

Suggested Fix

No response

sdwheeler commented 4 months ago

This is a known bug in PlatyPS, the tool used to generate the MAML files used by Get-Help. PlatyPS is in the process of being rewritten from scratch. We hope to have a new version by the end of the year.