Script to find a file in network
Dear guys, I'm looking for a script(VB), (Powershell is not recommanded) to find a specified file or folder on the network and provide me with the following information in a file: Computer name = path P.S: we have about 200 PCs on the network and it's definitely cumbersome to go through each pc and file a specified file. I would appreciate any help. Thanks and regards, Bahman
July 30th, 2011 5:53am

Hi, I see that both the replies to your other scripting question were in Powershell. What is your objection to PS? As you can probably see, it's much easier to write, and more powerful than VB Script. There is nothing that you can do in VB script that you can't do in PS. I highly recommend it.If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer".
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2011 7:15am

Dear Bigteddy, we don't have too many windows 7 and windows 08. the script should be on VB because we have a lot of windows XP and server 03. Thanks and regards, Bahman
July 30th, 2011 8:02am

Hi Bahman, You only need one PC with Powershell installed, in order to query all 200. You just use the -computername parameter of the command, and, as I say, this can be in the format of a list in a text file. Powershell does not need to be installed on the remote machines for most of the queries you will write. It will work quite adequately against Windows XP, 2003, and upwards. I think even Windows 2000 (but I'm not sure) If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer".
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2011 8:24am

Hello, the better place for scripting questions is: http://social.technet.microsoft.com/Forums/en/ITCG/threads Also see: http://technet.microsoft.com/en-us/scriptcenter/default.aspx http://social.technet.microsoft.com/Forums/en/winserverpowershell/threadsBest regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
July 30th, 2011 3:02pm

Yes, I agree. A lot of scripting questions start out here, because Powershell is so often the answer for server administration.If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer".
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2011 3:31pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics