Link to home
Start Free TrialLog in
Avatar of rov17
rov17

asked on

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
Avatar of rajvja
rajvja
Flag of United Kingdom of Great Britain and Northern Ireland image

I assume you are coding using classic ASP.
If so, Request.ServerVariables("REMOTE_ADDR") to get the machines IP ADdress
Avatar of rov17
rov17

ASKER

Hi Rajvia,
Thanks for comment, I am not that good at scripting but we usually use WMI
ASKER CERTIFIED SOLUTION
Avatar of TakedaT
TakedaT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rov17

ASKER

Thanks a million :-))