/build/static/layout/Breadcrumb_cap_w.png

Need a script to find certain file

I need a script to search user's PC for database (mdb or Mbl) and tell me where was it located and the user it found it on.

I need to do this to a department label. .

 

ie

w:\work\client.mbd    tsmith

w:\work\inventory      tsmith

 


0 Comments   [ + ] Show comments

Answers (3)

Posted by: khanthecomputerguy 9 years ago
Senior White Belt
1
If you are looking for powershell script find the link below.... BTW I just googled it *wink*
https://gallery.technet.microsoft.com/scriptcenter/Search-for-Files-Using-340397aa

Posted by: SMal.tmcc 9 years ago
Red Belt
0
I did not create this and test so if you have a glitch let me know

you can run a script to do a (the single > overwrites and the >> appends)

run a script against the label

launch a program
$(KACE_SYS_DIR)
cmd
/c dir *.mdb /s > C:\ProgramData\Dell\KACE\user\findmdb.txt
(check wait for completion)
launch a program
$(KACE_SYS_DIR)
cmd
/c dir *.mbl /s >> C:\ProgramData\Dell\KACE\user\findmdb.txt

then create a CIR

shellcommandtextreturn(cmd /c if exist C:\ProgramData\Dell\KACE\user\findmdb.txt type C:\ProgramData\Dell\KACE\user\findmdb.txt)
Posted by: anonymous_9363 9 years ago
Red Belt
0

VBScript? Powershell? CMD? Kscript for a KBox?

The folks here are helpful and knowledgeable but somewhat light on psychic ability.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ