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

How to zip files and folders using powershell?

$
0
0

I want to zip Folder2 and Folder4 (specific folders) with subfolders and files using powershell. Any help is appreciated.

Folder1
   Folder2
            Folder7
            Folder8
  Folder3
  Folder4
           Folder9
           Folder10
  Folder5
  Folder6 


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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