windows command line to scan remote computers for .pst
Is there a simple command line, or tool, that we can use to scan remote domain joined computers to see if they have any .pst files on them, and if so, report on their sizes?
Windows OSWindows 7Active Directory
Last Comment
NVIT
8/22/2022 - Mon
John
Any command will take a while since you have to look through all domain USERS folders for PST files.
That said, open Command.exe and try FIND. That should work.
drichman
ASKER
Could you assist with the syntax for the find command? We are looking for *.pst on the C: drive on remote computers.
Andrej Pirman
If you want to do it on regular base, this app might come handy. You setup parameters, domain, admin and password in main program interface, then go to WEB SERVER tab, START it and do search using web interface. https://www.softperfect.com/products/searchengine/
Notes:
a. find /v "too long" filters out the possible extraneous info when the DIR command is run
b. If your pst files reside in different folders than c:\users, adjust as needed.
Neither 41190288 nor 41190024 addresses remote scans across domain computers. A split, if any, should be more like:
80% 41190054
10% 41190288
10% 41190024
That said, open Command.exe and try FIND. That should work.