Update existing ZIP with Compress-Archive

suggest change

Compress-Archive is in the Microsoft.PowerShell.Archive module, included with Windows PowerShell 5.0 and later. -Update adds files from C:\Documents and replaces archive entries that have the same names. Entries that are only in the archive stay there.

Compress-Archive -Path C:\Documents\* -Update -DestinationPath C:\Archives\Documents.zip

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents