When using Compress-Archive with -Update to append a file to an existing ZIP file, and the current file used is locked by another process the ZIP file is deleted. If it make sense or not to append an open file Compress-Archive should not remove a not empty archive.
Description
When using
Compress-Archive
with-Update
to append a file to an existing ZIP file, and the current file used is locked by another process the ZIP file is deleted. If it make sense or not to append an open fileCompress-Archive
should not remove a not empty archive.Reproduce