I am creating a nightly database schema file and would like to put all the files created each night, one for each database, into a folder and compress that folder. I have a
Using PowerShell Version 3.0:
Copy-ToZip -File ".\blah" -ZipFile ".\blah.zip" -Force
Hope this helps.