This project is a PowerShell wrapper for the SolutionPackager utility to make working with the utility easier.
Change PowerShell directory to repository directory containing the module and import the module. Alternately pass the path to the import command.
Import-Module .\SolutionPackagerWrapper.psm1
Check out the Import-Module article on docs.microsoft.com for more information.
Review the help page of the new command
Get-Help Invoke-SolutionPackager -Full
The solution zip file is decomposed into a logic folder and file structure that is emitted into the directory you specify in the folder argument.
Invoke-SolutionPackager -action Extract -zipFile "C:\Users\$env:Username\Downloads\WebResources_0_0_1_3.zip" -folder C:\Users\$env:Username\Documents\Repositories\contoso-university\unpacked-solutions\WebResources
Invoke-SolutionPackager -action Extract -zipFile "C:\Users\$env:Username\Downloads\WebResources_0_0_1_3.zip" -folder C:\Users\$env:Username\Documents\Repositories\contoso-university\unpacked-solutions\WebResources -clobber -nologo
Invoke-SolutionPackager -action pack -zipFile "C:\Users\$env:Username\Desktop\WebResources_packed.zip" -folder C:\Users\$env:Username\Documents\Repositories\contoso-university\unpacked-solutions\WebResources -nologo