[Script Of Mar. 16] How to Create a Zip File with Password


Script Download:  
The script is available for download from https://code.msdn.microsoft.com/How-to-Create-a-Zip-File-3aa15f9d. You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

The C# sample code demonstrates how to create an encrypted and zipped file using AesCryptoServiceProvider and ZipPackage class.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery

Comments (0)

Skip to main content