Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Convert Computer Name to IP adress

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,61749
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Convert Computer Name to IP adress
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Convert Computer Name to IP adress - 6/23/2008 7:12:32 AM   
  jcarver_14

 

Posts: 27
Score: 0
Joined: 6/4/2008
From: Cincinnati
Status: offline

      
For the first one just place this script into a folder with a txt file named host.txt.  Each line of the host.txt files should contain one computer name.  This will display a message box for each.




      
This one is going to be a little easier to work with.  Do the same as above but this one will write the information to two text files.  Failed.txt contains all of the computers it could not ping.  Completed gives the computername = ipadress






      
And last but not least the most simple one.  If you make this a vbs file and run it an input box will come up.  Just enter the computername and hit ok.  It will echo the IP address
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Convert Computer Name to IP adress Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts