VB script to get machines IP address

Hi eveyone.
Can someone help with a script that will check a the machine name from an csv file and retarin, its IP address.
while it also get a value for the computers that is powered off (0 or any code that will indecate that the pc was off).
Thanks
LVL 5
rov17Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rajvjaCommented:
I assume you are coding using classic ASP.
If so, Request.ServerVariables("REMOTE_ADDR") to get the machines IP ADdress
0
rov17Author Commented:
Hi Rajvia,
Thanks for comment, I am not that good at scripting but we usually use WMI
0
TakedaTCommented:
Check out this page.  It sounds like this would work for you.

http://www.experts-exchange.com/Programming/Languages/Q_24499511.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rov17Author Commented:
Thanks a million :-))
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VB Script

From novice to tech pro — start learning today.