This is my first post so be gentle.
I'm starting to use Powershell and found it very intuitive and would like some advice/examples on how to properly script something specific instead of just copying files from one place to another.
Files structure:
c:\backup\archive\
test_20130320_000711_backup.rar
test1_20130320_000711_backup.rar
test_20130320_001215_backup.rar
test1_20130320_001215_backup.rar
test_20130321_000811_backup.rar
test1_20130321_000811_backup.rar
test_20130321_001015_backup.rar
test1_20130321_001015_backup.rar
Unpacking directory:
c:\unpack_file\[contents of each rar goes here, one at a time]
destination:
E:\backup\archive\[date of file above e.g. 20130320 created]\[unpacked rar file contents here]
What I need to do is copy each file by date and unpack each, one at a time. Then copy the contents to the destination folder and remove whats in the unpacking folder. phew!
I've done some basic scripting but this is a real challenge so any pointers or examples would be amazing!