Looking for get-ntnxvm -SearchAttributeList syntax | Nutanix Community
Skip to main content

Looking for get-ntnxvm -SearchAttributeList syntax.

Since the get-help doesn’t provide any information besides:  “Search attribute list, only searches on few attributes. For accurate search, provide field names”

Can someone provide an example of how to use this parameter? Most examples seem to use -searchstring.  I would like to search for vmname.  I know I can use a where clause and filter that way but curious if -SearchAttributeList could also do it.

Looks like the -FilterCriteria criteria can also be used this way.  Any examples of the correct syntax for -FilterCriteria or -SearchAttributeList would be helpfu.


Hello @MrMike,

Please let me know if you find this document helpful:

https://portal.nutanix.com/page/documents/details?targetId=API-Ref-AOS-v5_17%3AAPI-Ref-AOS-v5_17

Feel free to reach out to us if you have further queries

 

Thank you,

Maaz