Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Sajenthiran_Mic
Contributor

find object sting in all cma

I have a object called  "departent_svr_cms_mike" in each cma. i am searching for a way to find all host objects containg the string "cms " in the name.

Is they' re a way do this type of query?

3 Replies
Nick_Doropoulos
Advisor

Hello,

You should be able to achieve the intended result with the cpmiquerybin command as detailed in sk65181.

Try something like this and advise results:

[Expert@HostName]# mdsenv <IP address of Name of CMA>
[Expert@HostName]# cpmiquerybin object "mdsdb" network_objects field='cms' -network_objects "type='*'" -a __name__

I hope this helps.

0 Kudos
Sajenthiran_Mic
Contributor

The Command is not working on R80.20 MDM

0 Kudos
David_Asaolu
Explorer

I believe if you're tryin to search for an object with underscores in its name if you just ignore the underscores when you're doing a search it will find it. if u try to search using the underscores you'll have to type out the exact object name for it to find it. It's worth a shot

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events