How do I find a file on all computers?
I need help setting this up. I imagine this can be done via a script or a report.
I need to see if a file exists on the computers in our network. I ran a script using Kace and the script created a flag file in the temp folder. Now I need to see which computers have that flag file, rather, which one's don't. I see that I can "verify a file" using a kace script but how do I report back or log the name of the computer that has the file? I tried running a batch file which should have saved the name of the computer out to a network share but I haven't had any luck using Kace with network shares.
Any ideas?
I need to see if a file exists on the computers in our network. I ran a script using Kace and the script created a flag file in the temp folder. Now I need to see which computers have that flag file, rather, which one's don't. I see that I can "verify a file" using a kace script but how do I report back or log the name of the computer that has the file? I tried running a batch file which should have saved the name of the computer out to a network share but I haven't had any luck using Kace with network shares.
Any ideas?
2 Comments
[ + ] Show comments
-
Hello, is there any way to use a wildcard for this search? I need to find out if a .sys file exists in a path off of the C: drive but each file is named with the name of the host so the file name will be different. But the extension of .sys will be the same. I suppose I will need to use a KACE_MACHINE name variable here? How difficult would this be? Thanks in advance! - 4lienau 8 years ago
-
Is it possible to use script variables for a custom inventory item? - 4lienau 8 years ago
Answers (8)
Please log in to answer
Posted by:
cmccracken
13 years ago
Posted by:
cmccracken
13 years ago
1. Go to Inventory >> Software and add a new item.
2. Fill in top info.
3. As your Custom Inventory Rule put FileExists(c:\temp\TeRisClean.txt). TIP: If you click the yellow question box next to Custom Inventory Rule, it will list other functions you can use.
4. Save.
As PCs check in, you should see the number of PCs with your software item increase.
Casey
2. Fill in top info.
3. As your Custom Inventory Rule put FileExists(c:\temp\TeRisClean.txt). TIP: If you click the yellow question box next to Custom Inventory Rule, it will list other functions you can use.
4. Save.
As PCs check in, you should see the number of PCs with your software item increase.
Casey
Posted by:
lefttunknown
13 years ago
Posted by:
cmccracken
13 years ago
Posted by:
GillySpy
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.