Open
Description
Summary of the new feature / enhancement
Currently Compress-Archive
fails to compress hidden files. So for example, Compress-Archive -Path C:\My-Git-Repo
will not compress the directory .git
which is a directory with NTFS attribute hidden. Users must come up with various workarounds for this problem.
Users should be able to include NTFS hidden files and directories in the archive.
Proposed technical implementation details (optional)
Add a parameter switch like -Hidden
or -IncludeHidden
that will cause Compress-Archive
to include all hidden files and directories under the -Path
within the final archive file.