This is a lot easier, in my opinion:

                netsh int ipv4 show ipaddresses

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: David Lum [mailto:[email protected]]
Sent: Wednesday, October 26, 2011 9:41 AM
To: NT System Admin Issues
Subject: FW: RE: Script to fill in last user - ok real Q this time.


OK this is way too sweet. Surely I can slap the current IP address into there 
as well, do I need to add something like this to the script?
http://www.codeproject.com/KB/vbscript/ipaddress.aspx


Dave

From: Crawford, Scott 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Wednesday, October 19, 2011 2:56 PM
To: NT System Admin Issues
Subject: RE: Script to fill in last user - ok real Q this time.

You'll need to give uses the rights to modify that field on all computer ob= 
jects they might log into.

From: David Lum 
[mailto:[email protected]]<mailto:[mailto:[email protected]]><mailto:[mailto:[email protected]=
rg]>
Sent: Wednesday, October 19, 2011 4:01 PM
To: NT System Admin Issues
Subject: RE: Script to fill in last user - ok real Q this time.



~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to