generate_input_sa command
The generate_input_sa command generates the input file for copying a
solution, creating a solution from a template, converting a solution to a template, or listing 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 generate_input_sa -operation operation_type
-file input_file_name
[-silent] [-force] [-help]Parameters
- -operation operation_type
- Indicates the operation type that you will use the input file
with. The values in the input file depend on the operation that you
use the file with.
Table 1. Valid operation_type values Option Description copy
Creates the input file for copying a solution.
createFromTemplate
Creates the input file for creating a solution from a template.
list
Creates the input file for listing 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 to create. The directory structure in the path must already exist. You can use any valid file name, but the .txt extension is recommended. 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.
- Generate the input file for creating a list of properties and document classes.
- The following command generates the C:\propertylist\propertylist.txt text
file for creating a list of properties and document
classes:
configmgr_cl generate_input_sa -operation list -file C:\propertylist\propertylist.txt - Generate the input file for copying a solution.
- The following command generates the C:\solutions\copy_solution_input.txt
input file for creating a list of properties and document
classes:
configmgr_cl generate_input_sa -operation copy -file C:\solutions\copy_solution_input.txt - Show the help for the generate_input_sa command.
- The following command shows the help for the generate_input_sa command:
configmgr_cl generate_input_sa -help
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15