Create a custom inventory rule for a folder inside a users folder
Looking to create a custom inventory rule for .squirrel sql under users account to see which PCs have squirrel installed. I am unable to create a CIR for location at which SQuirrel is installed because they may not be in the same location or name but the .squirrel sql folder is consistent.
Any help/tips would be great!
Community Chosen Answer
this will not work since the agent runs as SYSTEM and therefore it will not show anything you need.
YOu need to create a batch or powershell script and put it in a readable folder.
Then you can run it via a custom inventory rule.
If the script runs long, you should run it regulary via Scripting and put the results into this folder and read the results with the CIR.