CPT and JetStream DR software can be controlled with command line functions.

Note: The command line functions are scriptable and provide access to the full range of operations that can be performed by CPT.

Also see:

Requirements and Considerations

Working with CPT Scripts

CPT Script Infrastructure

CPT Script Samples