Identify a Hosts Config ID

Options

Hello. I am trying to identify and then build a collection in SCCM of machines that have TV installed but either do not have a configuration ID applied or they do and it is not the one we want to be applied....anyone have any ideas on how I can do this?