Server - exportExclusionAndMaintenanceWindowsByGroupId
Server - exportExclusionAndMaintenanceWindowsByGroupId
Description :
This command exports details in CSV format of all maintenance and exclusion windows associated with servers in specified group. This is a recursive command and it is applicable for smart and static server groups.
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
groupId | Integer | ID of the server group. |
destFile | String | Local file to save the exported content. |
Example
The following example shows how export details of time windows associated with a specific server group.
Script
Server exportExclusionAndMaintenanceWindowsByGroupId 2000515 /timeWindows.csv
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*