Server - bulkSetServerPropertyValuesAndLogResults
Server - bulkSetServerPropertyValuesAndLogResults
Description :
This command sets property values for one or more servers and log the results to the client location that input csv file set in. The result CSV file name will use format xxx_Resuts.csv. A example,if the input file is set.csv, the log file will be set_results.csv and it sits in the same directory as set.csv does.
As input, the command requires the name of a local file.The file should be in a CSV format with the following columns: Server Name, Property Name, and Property Value. Each line in the CSV file correlates to one property value being set on one server.
Return type : void
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
fileDir | String | Directory containing the CSV file and where the results file will be saved. It supports only local path. |
fileName | String | Local file in CSV format containing property values. See above for a more complete description. |
Example
This example shows how to call the bulkSetServerPropertyValuesAndLogResults command, passing in a local file.
Script
Server bulkSetServerPropertyValuesAndLogResults /tmp set.csv