Skip to main content
Answer

Advanced search - use regex?

  • September 25, 2012
  • 1 reply
  • 9 views

Forum|alt.badge.img+8

I want to search for computers which have no entry for a given attribute. Is it possible to search for a null value? Is it possible to search with a regular expression?

Best answer by mm2270

Yes, it should work, but it may depend on whether its a Extension Attribute or a built in field. I know with EAs, you can easily search for Macs that have no value in them (i.e, they haven't reported in, so no value yet)

just don't enter anything in the field when you add it into your Advanced Search. Make sure to add in the column to your display fields so it will show that.

I have never tried this with any of the regular items Casper reports on because I think they generally will always have some value. but I don't know for sure.

1 reply

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • Answer
  • September 25, 2012

Yes, it should work, but it may depend on whether its a Extension Attribute or a built in field. I know with EAs, you can easily search for Macs that have no value in them (i.e, they haven't reported in, so no value yet)

just don't enter anything in the field when you add it into your Advanced Search. Make sure to add in the column to your display fields so it will show that.

I have never tried this with any of the regular items Casper reports on because I think they generally will always have some value. but I don't know for sure.