Custom Inventory Rule
12/07/2014 1405 views
Hi everyone, have a question regarding the search on Custom Inventory Rule.
I'm trying to find Windows PCs that have a locally stored Novell Groupwise archive. The folder the archive creates is "ofoboarc" and one of the files to search for is msg.db.
However, when selecting the option within the Groupwise client, the user can choose any folder name for the archive, so in theory they would have C:\<any folder name>\ofoboarc\msg.db.
I'm trying to search using the rules DirectoryExists(C:\**\ofoboarc\) or FileExists(C:\**\ofoboarc\msg.db), however neither are coming back with any results.
If I specify the exact path to test with my test PC of DirectoryExists(C:\archive\ofoboarc\) or FileExists(C:\archive\ofoboarc\msg.db) I get a valid hit because that is the exact path I chose to have my archive.
Dose anyone know of a way to have this work like a search since I have no way of knowing what my users have named their archive folder?