execute_sa command
The execute_sa command applies the values in the input file to copy a
solution, create a solution from a template, convert a solution to a template, or list the
properties and document classes in an object store.
Syntax
The following syntax includes line
breaks to format the command for reading. Enter the command and options
on a single line without any line breaks.
configmgr_cl execute_sa -operation operation_type
-file input_file_name
[-silent] [-force] [-help]Parameters
- -operation operation_type
- Indicates the operation to run.
Table 1. Valid operation_type values Option Description copy
Copies a solution.
createFromTemplate
Creates a solution from a template.
list
Creates the CSV files with the properties and document classes in an object store.
convertToTemplate
Converts a solution to a template.
- -file input_file_name
Specifies the full path to the input file that you created with the generate_input_sa command. The input file provides Content Platform Engine authentication information and other information for the selected operation. You must edit the property values in the input file before you run the execute_sa command.
For example, use C:\propertylist\propertylist.txt.
- -silent
- Optional: When you specify the -silent parameter, no prompts or informational messages are shown in the console, but the errors are written to the log. Failure messages and validation error messages are shown as needed, such as messages about missing passwords or invalid port numbers. If you run the execute command to run all the activities in a profile and you specify the -silent parameter, you must also specify the -force parameter.
- -force
- Optional and applies only when the -silent parameter is used. When you specify the -force parameter, the activity is run without pausing for required responses to validation error messages, such as messages about missing passwords or invalid port numbers.
- -help
- Optional: Shows a brief message on the command syntax instead of running the command.
Sample commands
The following examples include
line breaks to format the command for reading. Enter the command and
options on a single line without any line breaks.
- Create a list of properties and document classes.
- The following command creates a list of properties and document classes by using the
C:\propertylist input
file:
configmgr_cl execute_sa -operation list -file C:\propertylist\propertylist.txt - Copy an existing solution.
- The following command copies a solution by using the values in
the C:\solutions\copy_solution_input.txt input
file:
configmgr_cl execute_sa -operation copy -file C:\solutions\copy_solution_input.txt - Create a solution from a template.
- The following command creates a solution from a template by using
the values in the C:\solutions\copy_solution_input.txt input
file:
configmgr_cl execute_sa -operation createFromTemplate -file C:\solutions\from_template_input.txt - Convert a solution to a template.
- The following command converts a solution to a template by using
the values in the C:\solutions\copy_solution_input.txt input
file:
configmgr_cl execute_sa -operation convertToTemplate -file C:\solutions\to_template_input.txt - Show the help for the execute_sa command.
- The following command shows the help for the execute_sa command:
configmgr_cl execute_sa -help
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15