Sep 01 2022 04:44 AM
I have a monthly backup folder which contains daily backup from 1st day of the month to the last day of the month. How can i use PowerShell to zip each backup into the same folder or another folder all at once. I want the backup zip on a daily basis.
Parent folder is C:\January2022>
Childitems C:\Jan-1 through Jan-30
PS C:\Users\IT\TestFolder1> compress-Archive *.* -destinationpath C:\testfolder3\Test.zip
Above zip all contents at once into test.zip but i want separate childitem zip into destination.
Sep 02 2022 03:51 AM
Sep 02 2022 07:22 AM
Sep 02 2022 03:26 PM
SolutionSep 05 2022 08:25 AM
Sep 06 2022 07:28 AM
Sep 21 2023 03:48 AM