Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

Get-childitem with recurse and create folders in a different directory

$
0
0

I've got a folder containing child folders which I am doing a get-childitem -recurse on.  My script at the moment is zipping the top level file in the script but I need it to do a little more.

For starters I need to zip all the files in each folder found but to a mirrored directory\archive somewhere else on the file system.

I have not got any code yet, does anyone know how I would make a start on this?


Alter De Ruine


Viewing all articles
Browse latest Browse all 19461

Trending Articles