PoweShell Module Packages

Sep 21, 2011 at 10:15 PM

Hi Guys,

What about nuget supports PowerShell Module packages?


Sep 21, 2011 at 11:10 PM

Modules for general powershell or the powershell console in VS? If you're looking for general modules, take a look at PSGet http://code.andrewnurse.net/psget

Sep 27, 2011 at 1:33 PM

For general powershell, yes like PSGet.

There is 3 differentes Packages Managers for Powershell, but no one them based on nuget package structure.


http://psget.net (the same but not the same project)

I think it will be very nice nuget supports powershell modules too.

there is chocolatey project an application manager, this projects seem to be very nice, they are using the same structure of nuget packages and even the same site layout.... wow!!!

what is your point on view: the projects should be unified or not?

Sep 27, 2011 at 9:44 PM

PowerShell in Chocolatey is supported in installing commands into the system. Note the verbiage here: https://github.com/chocolatey/chocolatey/wiki

"Powershell Command Packages - Packages that have the suffix .powershell will install powershell scripts as commands for you to call from anywhere." 

What this means is that you install some powershell, it makes a bat file that calls powershell with the script you are installing as a command.

chocolatey is based on nuget and uses nuget, but the approach reaches to the end products and not the building of them (where nuget could be involved).  In other words, I use nuget to build roundhouse and I release the library (DLL) on nuget for other projects to use, but the tool (the executable) becomes a chocolatey package.