Create a variable.
The create/variable command is used to create a variable.
General Format
create/variable variable [/qualifiers]
Alternate
mkvar variable [-qualifiers]
Qualifier Summary
General Qualifiers:
/comment=comment
/[no]log
/[no]confirm
/node=node
/type=var_type
/value=var_value
Examples
C:\> schedule create/variable sch_test_var /value=on
Qualifiers
/comment
The COMMENT qualifier is the comment that is associated with a variable.
/confirm
/noconfirm
CONFIRM requests that the user be prompted prior to any operation to verify that the selected entry is the correct one.
/hostname=host_name
The qualifier specifies what node (either local or remote) you want the operation performed on.
/log
/nolog
The LOG qualifier causes each completed operation to issue a note to the user.
/type=var_type
The type qualifier modifies the type of the variable. The two types are "string" for a string variable and "expression" for a variable expression.
/value
The VALUE qualifier is used to display the contents of the variable. This value can be any alphanumeric characters up to 256 characters long.