Solved

VB 2008 Searching My network Places for Computers

Posted on 2008-09-30
4
428 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
  • 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

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

786 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