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)
/noprompt (Don't ask for retry or abort)
/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"

Compatibility :
  • Dynamics Crm Online
  • Dynamics Crm 2015
  • Dynamics Crm 2013
  • Dynamics Crm 2011

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

Last edited May 1 at 9:14 AM by AymericM78, version 7