Install module from script

Topics: Administration, Core, Customizing Orchard, General
Jul 12, 2014 at 9:19 PM
Hi guys,

I'm trying to create an script using Powershell in order to automatize the installation of modules inside an Orchard site and to activate their related features. We are building them as nuget packages.
At the moment I'm not able to do it from Powershell. Is there a reason why we couldn't do it from this tool?
Also, is there another tool that allow me to create an script in order to automatize this task?

Jul 13, 2014 at 8:44 PM
Edited Jul 13, 2014 at 8:44 PM
You can run Orchard.exe through Powershell too if you'd like to do such tasks. Alternatively you can also use this direct Powershell Orchard command line: It's more complicated to get running but it's directly providing a Powershell interface.

BTW can you share how you install modules from NuGet packages?