This is a simple Powershell Script to zip each file in a source folder location individually and place them in a target folder.
The Script is attached as a file to this blog, following needs to be done before executing the executing it:
- $sourcePath: Provide the folder location where the files to be zipped are placed
- $targetPath: Provide the folder location where the zipped files will be placed
- $currentFileExtension: The extension of the files to be zipped
ZipXlsxFiles.ps1.txt
Thank you
This post first appeared on MSDN Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The MSDN Blogs., please read the originial post: here