Seaching Workstations

  • Thread starter Thread starter Barkingmadscot
  • Start date Start date
B

Barkingmadscot

Has anyone gotting at tip in scanning all of my network (Workstations)
only for document types.

I have about 100 PC and the managment want to know what user are keep
on the local HDs of the PCs.

I could do it the long and search the C$ on each machine myself. Is
there any software that will does this for me.

I am wanting to search for different files type

Thanks in advance
 
Barkingmadscot said:
Has anyone gotting at tip in scanning all of my network (Workstations)
only for document types.

I have about 100 PC and the managment want to know what user are keep
on the local HDs of the PCs.

I could do it the long and search the C$ on each machine myself. Is
there any software that will does this for me.

I am wanting to search for different files type

Thanks in advance

You could run this batch file from your own PC:

@echo off
if not exist c:\Logs md c:\Logs
for /F %%a in (c:\PCs.lst) do call :Scan %%a
goto :eof

:Scan
echo Checking %1
if exist c:\Logs\%1.txt goto :eof
ping %1 | find /i "bytes=" > nul || goto :eof
echo Scanning %1
echo Scanning PC %1 on %date% at %time:~0,5% > c:\Logs\%1.txt
echo ================================ >> c:\Logs\%1.txt
dir /s \\%1\c$\*.doc >> c:\Logs\%1.txt
dir /s \\%1\c$\*.xls >> c:\Logs\%1.txt

Notes:
- The file c:\PCs.lst must contain a list of NetBIOS names.
- The batch file will skip PCs than cannot be reached.
- The batch file will skip PCs that have already been scanned.
 
Back
Top