Today it took me a while to get this out working for multiple paths (or other words multiple files) to get compressed using Compress-Archive command.
If you want to pass multiple paths to Compress-Archive command in PowerShell, give it with comma separation as in this video.
Ajay is a professional developer and architect of NI-LabVIEW applications with extreme interest in getting the hardware connected to LabVIEW and automating the stuff. Recently he is also putting his hands in NI-TestStand to get very dirty on it. He is also a good mentor for the various interns in his career. He is ready to help the people in techie roles.