CRM Solution Command Line helper provides the avaibility to control CRM solution management with command lines.
This will be very usefull to automate deployment with long operations.

Features :
• Process detailled log
• Solution import with progressbar and result log download
• Solution export
• Solution delete
• Publish

Usage :
/operation:value (import, export, delete, publish)
/crmconnectionstring:value (CRM organization url + credential)
/logpath:value (process log file path)
/confirmprompt (Ask to start processing)
/hideheader (hide header message)

Export, Import, Delete parameters :
/solutionname:value (CRM Solution Name)
/solutionfilepath:value (Solution File Path)

Specific export parameters :
/managed
/autoNumberingSettings
/calendarsettings
/customizationsettings
/emailtrackingsettings
/generalsettings
/isvconfig
/marketingsettings
/outlooksynchronizationsettings
/relationshiproles

Specific import parameters :
/publishworkflows
/overwriteunmanagedcustomizations
/logfilepath:value (Result Log Path)

Examples
Solution.Cmd.Helper.exe /operation:delete /crmconnectionstring:"Url=http://serveur/org; Domain=dom; Username=usr; Password=pass" /solutionname:"My solution" /confirmprompt

Solution.Cmd.Helper.exe /operation:export /crmconnectionstring:"Url=http://serveur/org; Domain=dom; Username=usr; Password=pass" /solutionname:"My solution" /solutionfilepath:"c:\solution.zip" /managed /generalsettings /autoNumberingSettings:"c:\error.xml"

Solution.Cmd.Helper.exe /operation:import /crmconnectionstring:"Url=http://serveur/org; Domain=dom; Username=usr; Password=pass" /solutionfilepath:"c:\solution.zip" /publishworkflows /logfilepath:"c:\error.xml"

Solution.Cmd.Helper.exe /operation:publish /crmconnectionstring:"Url=http://serveur/org; Domain=dom; Username=usr; Password=pass"

This version works with CRM OnPremise.

Important : This code and information are provided "as is" without warranty of any kind, either expressed or implied.

Last edited Aug 18 at 4:06 PM by AymericM78, version 3