HI, I’m trying to do a simple report in WR that displays if bes computers are a member of a specific BES computer group. I can’t seem to get it to work though.
(name of it, member of bes computer group whose (id of it = 1234)) of bes computers whose (name of it = "a;ldfkj’)
I wasn’t able find a way to associate a computer to a group, but I could the other way around, the statement below works, but there probably is a better way to do this…
exist substring “computername” of (substrings separated by " " of (concatenation " " of (names of members of bes computer group whose (id of it = 1234))))
This is what I had used before to get the Computer Groups where a Computer is a member of.
(name of item 1 of it) of (
bes computers whose (name of it = “Clifden”) ,
bes computer groups)
whose (size of ((member set of item 1 of it) - (set of item 0 of it)) < size of member set of item 1 of it)
So if you want to know if the computer CLIFDEN is part of the HUFF group, you can try:
exists (name of item 1 of it) of (
bes computers whose (name of it = “Clifden”) ,
bes computer groups whose (name of it = “Huff”) )
whose (size of ((member set of item 1 of it) - (set of item 0 of it)) < size of member set of item 1 of it)