Solved

VB 2008 Searching My network Places for Computers

Posted on 2008-09-30
4
432 Views
Last Modified: 2010-08-05
In my network environment we have about 3500 workstations with a fairly reliable naming convention, t the workstations name is a combination of the location and the workstation asset tag.  For example a typical workstation name looks like this, CAS2CIS15662, the asset tag is attached to the workstation so that is the name the users provide when they call in our we need to connect to one of them, or we'll get a list of asset tags that need to be resolved to the full workstation name.  What I'd like to do is create a small application that I could drop in a list of asset tags and have it resolve the workstations names.  So, to make a long story short, I'd like to be able to query AD with one or more partial workstation names and have it the list back with the full computer names.  If someone has a line or two of code they could throw my way I'd sure appreciate it.

Thanks in advance,

Michael
0
Comment
Question by:MKC06
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 18

Expert Comment

by:Priest04
ID: 22610958
0
 

Author Comment

by:MKC06
ID: 22611153
Thanks Goran, but that solution is for C#, I can just barley find my way in VB.  So that wont help me much.

Thanks again,

Michael
0
 
LVL 18

Accepted Solution

by:
Priest04 earned 500 total points
ID: 22611371
:) nothing to worry about MKC06, that shouldnt be the problem. There are online converters, which can do a conversion job to VB. Like this one

http://www.developerfusion.com/tools/convert/csharp-to-vb/
0
 
LVL 18

Expert Comment

by:Priest04
ID: 23022600
MKC06, it would be nice if you close the topic.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

617 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