KACE Custom Inventory Rule to search all local drives.
I need a rule that can search all local drives for Drupal. I'm using the following rule to search the C: drive, but just realized there are other servers in the company that have Drupal on the D or E drives. Is there a way to run the rule on all local drives?
Below is what I'm currently using.
ShellCommandTextReturn(dir c:\drupal /s > %1 & type %1)