You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PowerShell module for compressing and decompressing .ZIP archives
1
+
## VirtualEngine.Compression ##
2
+
A PowerShell module for compressing and decompressing archive files using only native .NET Framework 4.5 classes.
3
+
4
+
* Create a .zip archive.
5
+
* Add files to an existing .zip archive.
6
+
* Extract all files from a .zip archive.
7
+
* Extract individual files from a .zip archive.
8
+
9
+
Requires __Powershell 3.0 or above__ and the __.NET Framework v4.5 or higher__.
10
+
11
+
If you find it useful, unearth any bugs or have any suggestions for improvements, feel free to add an <ahref="https://github.com/virtualengine/Compression/issues">issue</a> or place a comment at the project home page</a>.
* Extract the .zip to your somewhere in the $PSModulePath, e.g. \Document\WindowsPowerShell\Modules\.
24
+
* Run 'Import-Module VirtualEngine-Compression'.
25
+
* If you want it to be loaded automatically when PowerShell starts, add the line above to your PowerShell profile (see $profile).
26
+
27
+
#### Usage
28
+
Refer to the built-in cmdlet help.
29
+
30
+
* <b>Get a list of available cmdlets:</b> Get-Command -Module VirtualEngine.Compression
31
+
* <b>Get an individual's cmdlet help:</b> Get-Help New-ZipArchive -Full
32
+
33
+
##### Why?
34
+
35
+
Because we couldn't find a PowerShell module that doesn't require 3rd party assemblies and we needed the ability to build .zip archives with <ahref="https://github.com/psake/psake">Psake</a>. In addition, this module will become a dependency for other Virtual Engine modules and DSC resources in the near future.
0 commit comments