how one file and check its value then move computer to a collection
Hello
I am a newbie with PDQ Inventory... and after googling a certain time i did not sort of trouble.
Based on list of computers (example C01 to C10), i have to check the following infos and report/create dynamic collections:
If "folder"=C:\DassaultSystems\B25 folder not exists move the pc to "CATIA_NOT_INSTALLED" collection
If folder exists, put pc in CATIA_INSTALLED
when 1st treatment is done:
check if file=C:\DassaultSystemes\B25\win_b64\LevelSPK.txt exist and if the file contains the string "toto"
if not move pc to dynamic collection "SP_toto_not_installed"
if yes move pc to dynamic collection "SP_toto_installed"
....
then same with an other file and so on
maybe a way exists to perform all checks in a raw :)
All the best
if "folder" exists, check
Comments
Generally it works like this:
But u want to check for a folder, which I didn't until now. Maybe u can do this with the "pro" version if choose the filter "file". At least u can check for a file which always exist in this folder.
With free version u have to choose another filter then (e.g. Application>Name, Disc Drive>Description, etc...)
CHEERS!
You can only perform file scans, not folder scans.
maybe setup two file scans. (app a and app b)
Then setup dynamic collection for machines missing app A
Then setup dynamic collection for machines with app A but missing app B.
Then just setup a schedule that deploys app A to first dynamic collection and app B to second dynamic collection