Solved

Inventory

Posted on 2006-11-08
1
141 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Office.Interop.Word Document - Detect Macros not working 16 37
Name space syntax error 12 43
Anyway to make "All" the default in the dropdown? 6 34
Error in JQuery 5 39
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
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.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now