Report required on all servers if file was created
Posted on 2011-02-15
We currently have 100+ server in the network and on each a scheduled tasks runs everynight which compresses certain files (legacy application db files). If db files are not locked or used at the time it is compressed the file size ranges from 10MB-1GB otherwise its locked or being used the compressed output is just 1KB.
What i wanted is that to create a batch file ...
1.0 Which checks the file size on each server.
2.0 Records only the server which has 1KB file.
3.0 Outputs to a text file.
sample content in the text file
\\<Server4>\App\DComp\MSD.zip IS ONLY 1KB.
Can you please at least show me or suggest some links to read as to how or where to start? I'm a newbie to programming (e.g. VB, etc...)