Solved

Computer Information on Desktop

Posted on 2013-05-28
3
315 Views
Last Modified: 2013-05-29
hello everyone.  How to display computer name and IP address on Windows desktop?
0
Comment
Question by:rodrobb
[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 Comments
 
LVL 23

Accepted Solution

by:
Thomas Grassi earned 250 total points
ID: 39202178
0
 
LVL 34

Expert Comment

by:Michael-Best
ID: 39202214
0
 
LVL 8

Expert Comment

by:d0ughb0y
ID: 39202247
Try this VBScript:

Set objNIC = GetObject("winmgmts:").InstancesOf("Win32_NetworkAdapterConfiguration")

for Each Interface in objNIC
	if Interface.IPEnabled then
		StrIP = Interface.IPAddress(i)
		Set WshNetwork = Wscript.CreateObject("Wscript.Network")
		CompName = WshNetwork.ComputerName
		MsgBox "Computer Name:" & vbTab & CompName & vbNewLine _
			& "IP Address:" & vbTab & StrIP,4160,"Computer Name & IP"
	End If
Next

Open in new window

0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

705 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