Server - getBulkServerPropertyValuesAndLogResults
Server - getBulkServerPropertyValuesAndLogResults
Description :
This command gets 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 get.csv, the log file will be get_results.csv and it sits in the same directory as get.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 get on one server.
Return type : String
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 getBulkServerPropertyValuesAndLogResults command, passing in a local file.
Script
Server getBulkServerPropertyValuesAndLogResults /tmp get.csv