AD Telephone Number field name exported from VBS



I'm trying to create a vbs script that exports user information similar to
the lines below, but I would like to export the Telephone Number from the
General Tab of a user's properties in AD. Does anyone know what the & objUser
code is for the telephone number? I've searched the internet and tried many
different utilities (ADFIND, useraccount.vbs, listproperties.vbs) but I can't
find the field I require to output the telephone number.

str1 = "Last Login: " & objUser.LastLogin
str2 = "Last Logoff: " & objUser.LastLogoff
str3 = "Phone: " & objUser.?????
.



Relevant Pages

  • Re: creating a report of all users/e.mail addresses
    ... smtp addresses? ...
    (microsoft.public.exchange.admin)
  • Re: Cookies and Index.dat
    ... The IE Spy is a VBS script, but that just shows the information in the ... BA MCP MCSE ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Safe Mode detection
    ... Thanx for you help and pointers with the VBS script. ... Dave ... Prev by Date: ...
    (microsoft.public.windows.server.scripting)
  • download a file
    ... Is it possible to download a file from an url and save it to C:\temp with a ... Shawn ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)
  • Copy a file
    ... Newbie here. ... Was looking for a simple vbs script that will copy an Access ... database from one location to another. ... Prev by Date: ...
    (microsoft.public.windows.server.scripting)