Forum Discussion
VictorLanso
Sep 01, 2022Copper Contributor
PowerShell Compress-Archive
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 a...
- Sep 02, 2022Here you go: https://github.com/Raindrops-dev/RAIN-TechCommunityContributions/blob/main/Start-SubfolderCompression.ps1
Read the .Example code at the top for the parameters to use when calling the script.
VictorLanso
Sep 02, 2022Copper Contributor
All backups are in subfolders. And my goal is to compress each subfolder to a different .zip file. with just a command or script. With that I should be able to manage many backups at once.
Thanks.
Thanks.
raindropsdev
Sep 02, 2022Iron Contributor
Here you go: https://github.com/Raindrops-dev/RAIN-TechCommunityContributions/blob/main/Start-SubfolderCompression.ps1
Read the .Example code at the top for the parameters to use when calling the script.
Read the .Example code at the top for the parameters to use when calling the script.
- VictorLansoSep 21, 2023Copper ContributorThis script not only work locally, but works across domain networks to compress files and move it to the desired location on the network.
- VictorLansoSep 06, 2022Copper ContributorHi raindropsdev I Read the code, studied it and called it. It works perfectly for me and i can zip as many script as i want at once.
Thank you. - VictorLansoSep 05, 2022Copper Contributor