Solved

Inventory

Posted on 2006-11-08
1
142 Views
Last Modified: 2010-04-16


Hi,

I want to build a small app(2.0) and read the C (or local drive), program files folder, for each computer on the network and list all folders inside Program Files on each computer(only 1 level deep) and output it to a txt file or db.

Anyone ever done something like this, or pehaps knows a good wsite with this stuff on?

thanks.
0
Comment
Question by:ziwez0
1 Comment
 
LVL 8

Accepted Solution

by:
redpipe earned 500 total points
ID: 17898153
Enumerate all computers in network
http://www.codeproject.com/cs/internet/ListNetworkComputers.asp or
http://www.developerfusion.co.uk/show/3169/  or
http://www.c-sharpcorner.com/Code/2002/Aug/ListAllComps.asp  (Active directory)

then foreach item (computernames) in array (computers in network)
  try connect
  and foreach File in FolderInfo.GetFiles("C:\Program Files") write File.Name to your textfile or db
 
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question