BlMntWindow - createMonthlyWindow


BlMntWindow - createMonthlyWindow

Description :

This command creates a monthly maintenance window with the specified parameters within the requested ACL policy. Returns the DBKey of the maintenance window.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

policyname

String

Name of the ACL policy to have window added to.

windowname

String

Name of the new monthly window.

description

String

Description of the new monthly window.

startdate

String

Start date of the new monthly window.

enddate

String

End date of the new monthly window.

opentime

String

Opening time of the new monthly window.

duration

Integer

Duration of the new monthly window in hours.

days

String

Comma separated days of the month

Example

Date fields are entered as YYYY-MM-DD and time fields are entered as HH:MM If no value is to be given to the start or end date, use "" Days of the month are given by a comma separated list

Script





BlMntWindow createMonthlyWindow "Policy Name" "New Window Name" "New Window Description" 2009-08-01 2010-01-01 02:30 2 1,3,7,20

This command results in a new monthly maintenance window in ACL policy with name "Policy Name" with the following attributes: name = "New Window Name" description = "New Window Description" startDate = August 1st 2009 endDate = January 1st 2010 startTime = 2:30AM local time duration = 2 hours days of the month = 1st, 3rd, 7th, 20th



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.7