Member of bes computer group?

(imported topic written by cstoneba)

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’)

Anyone know what I’m doing wrong?

thanks

(imported comment written by MattPeterson)

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))))

(imported comment written by Lee Wei)

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)

Lee Wei

(imported comment written by nagaraj.s)

hi lee

can I take report in multiple DNS OR IP in MULTIPLE COLUME

(imported comment written by jgstew)

You should post this to a new thread.

(imported comment written by RobertKurt)

So, what would the code look like if I wanted to list:

name of bes computer, name of bes computer group for all, or for bes computer group being a certain value?