Browse Community
Help
Log In
Responses(5)
Solutions(0)
mpm1164
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
54 Posts
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.
May 2nd, 2023 06:00
Thanks very much @Ooi Hoo Hong !
Dell-BarryOSullivan
Moderator
67 Posts
May 4th, 2023 06:00
Hi Hoo Hong,
great info on the CLI, thanks for sharing
October 25th, 2024 01:12
Updated Link for Dell PowerStore CLI Reference Guide
Dell Support Resources
View All
Top
mpm1164
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
•
54 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
•
4 Posts
0
May 2nd, 2023 06:00
Thanks very much @Ooi Hoo Hong !
Dell-BarryOSullivan
Moderator
•
67 Posts
0
May 4th, 2023 06:00
Hi Hoo Hong,
great info on the CLI, thanks for sharing
Dell-HooHongOoi
1 Rookie
•
54 Posts
0
October 25th, 2024 01:12
Updated Link for Dell PowerStore CLI Reference Guide