Search all computers domain file




















If we can connect and find the path we pop an Explorer window. Office Office Exchange Server. Not an IT pro? Script Center. Sign in. United States English. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:.

Archived Forums. The Official Scripting Guys Forum! I've been getting help from a co-worker but he isn't available right now and I have a hard time following him sometimes. I am this site and its user might be able to assist me. What I am trying to do and I believe I am close to is pulling a list of drives for each computer on the domain. Once I pull that list O pipe it into a variable and then do a search on that variable for any files that end with.

Once the search is complete if there were results from the search a file should be created with the FUllname"path" of each file and the computer name should be used for naming the file. If there are no results form the search the file would be empty but the filename should still be named after t he computer.

I believe I have gotten everything correct except that I do not know how to name the file based on the computer name. Thank you for your time and help with this. Here is my code so far:. Thank you. I wasn't initially planning on using the UNC path but changed it up anyways and I think that will make it easier to go through later. I also figured out my issue for naming the file generated after the computer it ran on. How are we doing? Please help us improve Stack Overflow.

Take our short survey. We have received your request and will respond promptly. Log In. Cheers, Dian. Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action. Click Here to join Tek-Tips and talk with other members! Already a Member?

Join your peers on the Internet's largest technical computer professional community. It's easy to join and it's free. Register now while it's still free! Already a member?



0コメント

  • 1000 / 1000