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.

Note: If the csv contains a date type of property, it needs to specified only in the following formats: yyyy-MM-dd HH:mm:ss or yyyy/MM/dd HH:mm:ss

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 



Was this page helpful? Yes No Submitting... Thank you

Comments