NuGet package for 7Zip4Powershell

7-zip, Powershell, NuGet Comments

nuget

A few days ago I mentioned 7-Zip for Powershell. I’ve now created a NuGet package and published it at NuGet.org.

It took me a while to figure it out, but finally it’s a “tools only” package, i.e. it adds no references to your project.

To use the new commands just add the package to your solution and import it in your Powershell script:

$SolutionDir = split-path -parent $PSCommandPath
Import-Module (Join-Path $SolutionDir "packages\7Zip4Powershell.1.0\tools\7Zip4Powershell.dll")

Comments