You can use the DeploymentManager.exe command line interface to automate Deployment Manager server tasks.
If you installed Deployment Manager to the default location, you can find DeploymentManager.exe in:
C:\Program Files (x86)\Red Gate\Deployment Manager\Tools
Examples using Deployment Manager.exe
In the following examples:
- our Deployment Manager server URL is
- the API key for our user account is NRN94PPM3DZGHCQSIJRAPWE7TG
- the project we want to deploy is MyProject
Creating a release
To create a release, at the command prompt, we navigate to the location of DeploymentManager.exe and then run:
Creating and deploying a release
To create and then deploy the release to our Staging environment, we run:
Deploying a release with specific package versions
If we want to deploy the release using a specific version (v220.127.116.11, in this example) of our WidgetDatabase package, we run:
Command line syntax
For a full list of DeploymentManager.exe commands and options, see DeploymentManager.exe syntax.