CRM Command Line Utilities

Usage:

Run this program from the Windows Command Prompt. If you run into issues, you may have to 'Run as Administrator' when you open the Command Prompt.

Example:

CrmCommandLineUtilities.exe /o:http://yourcrmserver.com /u:crm\ryancorrigal /p:pass@word1 /f:MicrosoftXrmCustomerPortal.zip /c:i

Command Line Switches:

Manditory:
  • /O: - Defines the Organization to which the selected operation is to be performed
  • /U: - The active directory name of the user to who you would like to perform this operation as (domain\username)
  • /P: - The password of the specified user name
  • /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
Conditional:
  • /F: - The file, if applicable, to which the operation will be performed to or from
  • /S: - The solution, if applicable to which the operation will be performed on (note: this is the 'Name' and not 'Display Name')

Last edited Apr 24, 2013 at 1:03 AM by RyanCorrigal, version 15