Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB 2008 Searching My network Places for Computers

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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.
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

963 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