CRM 2011 – CRM Command Line Utility

I saw this nice and simple command line utility today for CRM 2011, which you can access using the url below

https://crmcommandline.codeplex.com

Initially I wasn’t sure what the purpose of the command utility was, why would I want to access CRM via the command line

Then I saw the commands

/C: – the command you wish to perform

  • I – performs an import operation
  • E – performs an unmanaged solution export to the file specified with the ‘F’ flag
  • EM – performs a managed solution export to the file specified with the ‘F’ flag
  • U – performs a solution uninstall to the solution specified with the ‘S’ flag

 

So what you could use this for is to create a bat file which exports CRM and once you have a bat file you can then setup a windows scheduled task.

The task I have in mind for the tool is to setup a regular windows task which exports the solution on a daily or weekly basis.

Also if you are doing regular imports or solution imports then this tool can make it easy for you.