Forum Discussion

VictorLanso's avatar
VictorLanso
Copper Contributor
Sep 01, 2022
Solved

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...
  • raindropsdev's avatar
    raindropsdev
    Sep 02, 2022
    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.

Resources