I needed to figure out a way to retrieve details of a computer (specifically, the computer name and computer id by querying the vm uuid) using iem cli.
Something like- (name of it, id of it) of bes computer whose (vm uuid of it is “40116cbc-8fd5-4f76-ffe7-8a7838025y29”)
Assuming you have the ‘Virtual Machine Guest Information’ analysis activated from the ‘Virtual Endpoint Manager’ site, you should be able to leverage session relevance such as:
(id of it, name of it) of bes computers whose (value of result from (bes property "Virtual Machine UUID") of it = "40116cbc-8fd5-4f76-ffe7-8a7838025y29")
(value of result from (bes property "Host") of it) of bes computers whose (value of result from (bes property "Virtual Machine UUID") of it = "40116cbc-8fd5-4f76-ffe7-8a7838025y29")