Re: retrieve netbiosname,ip adress

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The Win32_NetworkAdapterConfiguration class will get you this information
regarding IP address, hostname, etc.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_networkadapterconfiguration.asp

For lastlogon of a user use Win32_NetworkLoginProfile class

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_networkloginprofile.asp

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"joseph" <desquestions@xxxxxxxxx> wrote in message
news:%23LkKcMSyFHA.3256@xxxxxxxxxxxxxxxxxxxxxxx
> Hello
> Someone can help to indicates how with WMI, i can get netbiosname,ip
> address,last logon name
> thanks


.



Relevant Pages