Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to package and zip multiple files with different extensions.

$
0
0

We need  to Package and zip the following files under the  "C:\Source\" and name the package “C:\Destination\MONTHLY_YYYYMM.zip where YYYYMM is System YYYYMM -1. Example: In May 2014 it will be Apr 2014 and on Jan 2015 it will be Dec 2015. This will become a scheduled nightly task on a few of our servers.  I don't even know where to start.....



1.test.txt
2.test1.jpg
3.test.bak
4.test.xls

Can anyone help me on this?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>