I have a network with several hundred Windows 2003 servers. I need to get a list of all of the network shares by servername. I am hoping this can be done by using a batch file.
Preferrably, I would like to have a text file that lists each server name. The batch file would take each server name, check the server, and then append an output text file with the shares for that server. It would then continue down the server list until it reached the end. The text file would look something like this:
The exact format doesn't matter as much as just being able to collect the information in a text file.