Merging the zip files thru powershell

DHAVAL J TRIVEDI 41 Reputation points
2022-02-04T09:44:43.773+00:00

I have used Split-File function to split one of my zip files into the 10 files. Now I would like to Merge them into one.

Could anyone suggest , how to do it?

PS C:\Projects\ATT\MSTRSetup> Split-File -Path "C:\Projects\ATT\Google.zip" -PartSizeBytes 10MB -Verbose
VERBOSE: saving to C:\Projects\ATT\Google.zip.00.part...
VERBOSE: saving to C:\Projects\ATT\Google.zip.01.part...
VERBOSE: saving to C:\Projects\ATT\Google.zip.02.part...
VERBOSE: saving to C:\Projects\ATT\Google.zip.03.part...
VERBOSE: saving to C:\Projects\ATT\Google.zip.04.part...
VERBOSE: saving to C:\Projects\ATT\Google.zip.05.part...
VERBOSE: saving to C:\Projects\ATT\Google.zip.06.part...
VERBOSE: saving to C:\Projects\ATT\Google.zip.07.part...

Now I would like to merge-file using powershell script.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,628 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 120.9K Reputation points MVP Moderator
    2022-02-04T09:58:25.337+00:00

    Hi @DHAVAL J TRIVEDI ,

    maybe this helps: https://www.powershellgallery.com/packages/FileSplitter/1.3/Content/Join-File.ps1

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.