When i test the Session relevance (ids of it) of bes computers whose (name of it contains "HOSTNAME")
I am getting the following error. If i run the same using relevance tester it works.
Notice the shell is removing the quotes around the computername (read the "Query Resource=" part of the response). You need to either URL-encode the query, or put the query in a file and call it from there (which is how I handle it with curl.exe, not sure whether iem has an option to read the query from a file).
Have a look at https://forum.bigfix.com/t/how-to-get-cpu-cores-from-rest-api/23849/4
Thanks Jason!!! It worked perfectly using curl.