Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

BlMntWindow - createWeeklyWindow


BlMntWindow - createWeeklyWindow

Description :

This command creates a weekly 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 weekly window.

description

String

Description of the new weekly window.

startdate

String

Start date of the new weekly window.

enddate

String

End date of the new weekly window.

opentime

String

Opening time of the new weekly window.

duration

Integer

Duration of the new weekly window in hours.

days

String

Comma separated days of the week with 1 = Sunday and 7= Saturday

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 week are given by a comma separated list with Sunday = 1 and Saturday = 7

Script





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

This command results in a new weekly 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 week = Sunday, Tuesday, Saturday



 

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

BMC Server Automation Command Line Interface 8.5