BlMntWindow - createOneTimeWindow


BlMntWindow - createOneTimeWindow

Description :

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

description

String

Description of the new one time window.

startdate

String

Date of the new one time window.

opentime

String

Opening time of the new one time window.

duration

Integer

Duration of the new one time window in hours.

Example

Date fields are entered as YYYY-MM-DD and time fields are entered as HH:MM

Script





BlMntWindow createOneTimeWindow "Policy Name" "New Window Name" "New Window Description" 2009-08-01 02:30 2

This command results in a new one time maintenance window in ACL policy with name "Policy Name" with the following attributes: name = "New Window Name" description = "New Window Description" oneTimeDate = August 1st 2009 startTime = 2:30AM local time duration = 2 hours



 

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

BMC Server Automation Command Line Interface 8.7