Create a Zip file via PowerShell

By |2017-12-01T17:22:24+00:00March 17th, 2014|PowerShell|0 Comments

Here’s a quick command you can run to put a contents of a folder including subdirectories into a ZIP file

Folder to Convert to Zip – C:Dan

Destination to create ZIP –

PowerShell Command

Get-Childitem c:Dan -Recurse | Write-Zip -IncludeEmptyDirectories -OutputPath


Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.