Skip to content

SolutionPackager PowerShell module developed to improve command line ease of use by enabling intellisense and simplifying download and install of dependencies.

License

Notifications You must be signed in to change notification settings

paulbreuler/SolutionPackager-PowerShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SolutionPackager-PowerShell

This project is a PowerShell wrapper for the SolutionPackager utility to make working with the utility easier.

Usage

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

Extract

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

Pack

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

About

SolutionPackager PowerShell module developed to improve command line ease of use by enabling intellisense and simplifying download and install of dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published