VBscrit to display IP Addresses

I need to display the IP address for the specified room and computer.  I have to use a vbscript output statement to display the data (the statement below is psuedocode):

Display message " The IP Address in Room "  roomStr   " for computer "  compStr   " is "   ipAddress(room-100,computer-1)

This is what I have so far:

WScript.Echo "The IP Address in Room " & room & " for computer " & computer & " is " &
ipAddress(room-100,computer-1))
WScript.Echo

Please help!

May 31st, 2014 9:36pm

I am sorry but we do not do homework for students.  If we do it  you will never learn anything.

You can read these articles to learn how to do this.

http://blogs.technet.com/b/heyscriptingguy/archive/2009/05/29/scripting-your-first-steps.aspx

http://technet.microsoft.com/library/ee176986.aspx

Free Windows Admin Tool Kit Click here and download it now
May 31st, 2014 10:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics