thanks for your help, but what Im looking at is trying to get it to write the ip address to the file, here is a snippet of the script we use to you can see how we are writing it
-------------------
On Error Resume Next
Dim WshNetwork, oFileSys, fh
Dim WshShell
Set WshNetwork = WScript.CreateObject("WScript.Network"

Set WshShell = Wscript.CreateObject("Wscript.Shell"
LogFile="s:\useraudit\" & WshNetwork.Username & "_" & WshNetwork.ComputerName & ".log"
Set oFileSys = CreateObject("Scripting.FileSystemObject"

set fh=oFileSys.CreateTextFile("s:\useraudit\" & WshNetwork.Username & "_" & WshNetwork.ComputerName & ".log",TRUE)
Wscript.echo "Running User Audit"
fh.WriteLine "User Audit Log - " & Now & VBCRLF
wscript.echo "Gathering user information..."
strTemp="User Domain:" & vbTab & WshNetwork.UserDomain & vbCRLF & "User Name:" & vbTab & vbTab & WshNetwork.UserName & vbCRLF & "Computer Name:" & vbTab & WshNetwork.ComputerName
------
and thats part of the log file, i just need to know how to get the IP address to be written with the other information..sorry for the inconvience but Im still learning. Thanks again