Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB 2008 Searching My network Places for Computers

Posted on 2008-09-30
4
Medium Priority
?
434 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 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Here's a look at newsworthy articles and community happenings during the last month.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

722 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