
Perl Scripts | Actions and Adaptive CLI 361
Create Adaptive CLI Example
The following describes the basics of creating and using Adaptive CLIs.
1
Create a new Adaptive CLI. Right-click and select
New
.
2
In the
Attributes
panel, create attributes named
required
and
optional
.
3
In the
Script
panel define the Attribute Delimiter (< >) and Optional Attributes Delimiter
([ ]) and enter the following three scripts:
show run
show <Required>
show [Optional]
4
Save this Adaptive CLI execute it with
action > Execute
.
5
When executing, select a target.
6
Click
Next
. The Show Run command results appear. These are searchable with the job screen.
Scheduling Actions
You can schedule actions with a right-click in the Actions Portlet or the Schedules Portlet. This
opens an editor with the following screens:
• General
• Parameters
•Schedule
See Schedules Portlet on page 95 for more scheduling actions with that portlet. Schedules created
in the Actions Portlet also appear in the Schedules Portlet.
Komentarze do niniejszej Instrukcji