Service Manual

-port
Port number on the system.
-user|-u
Username for logging in to the system.
-password|-p
Password for logging in to the system.
-ssl_policy|-
ssl
Policy for handling unknown SSL certificates downloaded from the system. Value is one of the following:
interactive Prompt the user to accept the certificates for the current session (default).
reject Automatically reject the certificates.
accept Automatically accept the certificates.
store Automatically accept and store the certificates.
-cert_list
List of all certificates stored locally in the lockbox.
-cert_clear
Delete all certificates stored locally in the lockbox.
-cert_del
Delete one or more certificates from the lockbox. Type a comma-separated list of certificate IDs.
NOTE: Use -cert_list to view a list of stored certificates with their IDs.
-help|-h|-?
Display information about the syntax and switches, a list of command categories available on the target
system, and information about getting further help on specific topics.
-save_cred
Save the access credentials that are specified for the -user and -password switches to a local
security file in the lockbox. With the access credentials saved, PowerStore CLI automatically applies them
to the specified system destination and port pair each time you run a command. Save PowerStore CLI
settings on page 15 explains saving user account credentials to the local client system.
-remove_cred
Remove the specified user account from the lockbox.
-remove_all_c
reds
Remove all user accounts from the lockbox.
-default
Save the destination, port pair, and SSL policy as defaults. You can use the -default switch with the
-destination, -port, or -ssl_policy switches, or with any combination of those switches. The
saved SSL policy applies to the client for all destinations. Also, you can update the destination and port
separately. Save PowerStore CLI settings on page 15 explains saving user account credentials to the
local client system.
-header
Show the header message (system IP address, port number, and so on), which is hidden by default, above
the command output.
-v|-version
Display the version of your PowerStore CLI.
-clear_cache Clear cached data.
Example 1
The following example accesses the destination system 10.0.0.1 as user admin with password MyPassword456!:
pstcli -d 10.0.0.1 -u admin -p MyPassword456!
Example 2
The following example saves the access credentials for the specified user:
pstcli -d 10.0.0.1 -u admin -p MyPassword456! -save_cred
Example 3
The following example sets the destination system as the default:
pstcli -d 10.0.0.1 -u admin -p MyPassword456! -default
14
Introduction