Unsolved
1 Rookie
•
45 Posts
3
3517
Introduction to PowerStore CLI
The PowerStore Manager CLI enables you to run commands on a system through a prompt from a Microsoft Windows or UNIX/Linux host. The PowerStore Manager CLI is intended for users who want to interactively manage a PowerStore system, or to use commands in scripts for automating routine tasks.
Set up the PowerStore CLI client, click here
PowerStore CLI command syntax
The syntax of an example command line is as follows:
pstcli ] [
PSTCLI command examples
Run PSTCLI from Client
pstcli -d -u -p -session
-session - Opens a persistent session with the cli> prompt
Basic help
To get full list of commands
Help for specific command
Example of alert show
View detail output of specific alert
Event show example with limit to 3 output
Command show default limit of 100 records. To see all records, use -all as per below example
Network show example with default view
Use -select to show specific fields
Host show with default table output
Host show with nvp output
Host show with csv output
Host show with json output
Full CLI Reference Guide, click here
#PowerStore #storageinfrastructure #architecture #cloud #infrastructure #cluster #datacentric #IWork4Dell
mpm1164
1 Rookie
1 Rookie
•
4 Posts
0
May 1st, 2023 14:00
Could someone provide an example of how to use the -query switch to filter for a specific string in a volume or host name
Query only for volumes containing TOM
TOM123
TOM456
TOM789
BILL123
BILL456
BILL789
Thanks.
Dell-HooHongOoi
1 Rookie
1 Rookie
•
45 Posts
0
May 2nd, 2023 01:00
Hello @mpm1164 ,
You can try this command to filter volume name column that containing TOM.
volume show -query "name like *TOM*"
To filter host name, use below command.
host show -query "name like *BILL*"
Hope this helps.
mpm1164
1 Rookie
1 Rookie
•
4 Posts
0
May 2nd, 2023 06:00
Thanks very much @Ooi Hoo Hong !
Dell-BarryOSullivan
Moderator
Moderator
•
57 Posts
0
May 4th, 2023 06:00
Hi Hoo Hong,
great info on the CLI, thanks for sharing