Service Manual

Example
In the following example for changing the password of a user account, the action is set:
pstcli -d 10.0.0.1 -u admin -p MyPassword456! local_user -name operator set password
NewPassword456! current_password OldPassword456!
Action qualifiers
Action qualifiers are parameters specific to actions, such as attributes or settings to modify when changing an object. All action
qualifiers start with a hyphen (-).
Example
In the following example for changing a role and password for a user account, the action qualifiers are -password,
-current_password, and -role:
pstcli -d 10.0.0.1 -u admin -p MyPassword456! local_user -name lab3_operator set -password
NewPassword123! -current_password MyPassword456! -role administrator
Size qualifiers
Use size qualifiers to indicate a specific capacity-size value. In this case, 1 KB equals 1024 bytes.
To specify a fraction, use a period. For example, type 2.4T for 2.4 terabytes. The output for a size value displays the exact
number of bytes and the specified size value:
Size = 1209462790557 (1.1TB)
The following table lists the size qualifiers. The qualifiers are case-sensitive.
Table 1. Size qualifiers
Qualifier Measurement
K
Kilobyte
M
Megabyte
G
Gigabyte
T
Terabyte
P
Petabyte
Action commands
When using PowerStore CLI, there are four primary action commands that you can perform on object types or objects: creating,
modifying or configuring, viewing, and deleting. This section explains each of these four action commands. PowerStore CLI
command syntax on page 6 explains the relationship between action commands, object types, and objects.
The create action command
The create action command creates an object on the system that is based on the specified object type. If the command is
successful, the new object receives an object qualifier, or ID, that identifies the object on the system.
Format
<object type> create [<object qualifiers>]
8
Introduction