Help with relevance

I am suing the following Relevance in an analysis to return True or False if the file exists, although I also want to pull out the different types of files that exist in each machine the analysis is run against, can someone help me out on how I would achieve this?

(True/False Relevance)

if (exists file whose (name of it contains “role-capability-files”) of folder ("<C:\Program Files\WindowsPowerShell\Modules\IPcenter\RoleCapabilities>")) then true else false

(Example of the file names)

  • role-capability-files-1.0.17
  • role-capability-files-1.0.18
  • role-capability-files-1.0.11
  • role-capability-files-1.1.10
  • etc
  • etc

The main complication here is that the BigFix client operates in 32-bit mode by default. Windows intercepts the call to “C:\Program Files” and redirects it to “C:\Program Files (x86)”. You’ll need to use the ‘native’ family of inspectors to reference those files. Try

exists files whose (name of it as lowercase starts with "role-capability-files") of native program files folders

and

names of files whose (name of it as lowercase starts with "role-capability-files") of native program files folders

Thanks Jason. will give this a go and let you know the outcome