Re: vbscript, searching Active directory using ADODB type mismatch error
From: Paul (paulwood11_at_hotmail.com)
Date: 04/26/04
- Previous message: Richard Mueller [MVP]: "Re: Enumerate Empty Global Groups"
- In reply to: Richard Mueller [MVP]: "Re: vbscript, searching Active directory using ADODB type mismatch error"
- Next in thread: Richard Mueller [MVP]: "Re: vbscript, searching Active directory using ADODB type mismatch error"
- Reply: Richard Mueller [MVP]: "Re: vbscript, searching Active directory using ADODB type mismatch error"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Apr 2004 12:31:06 -0700
Thanks Richard, that part worked.
My next question regrading this subject is that I am incorporating this into your original last logon dates vb script from your web site.
How do I output the name, description, & home directory after the loop runs to determine the last login date in the script below?
I tried working on it myself, by puting the output at the end of original loop without any sucess. It just outputs the incorrect last login date. I have also tried adding the line below but I was unable to add the additional fields to the objlist in the original loop so that line does not work either.
' LastLogon.vbs
' VBScript program to determine when each user in the domain last logged
' on.
'
' ----------------------------------------------------------------------
' Copyright (c) 2002 Richard L. Mueller
.
.
.
.
.
' Output latest lastLogon date for each user.
For Each strUser In objList
'Wscript.Echo strUser & " ; " & objList(strUser)
Wscript.Echo objList(strname) & " ; " & objList(strdescription) & " ; " & objList(strhomedirectory) & " ; " & objList(strUser)
Next
Thank You,
Paul
- Previous message: Richard Mueller [MVP]: "Re: Enumerate Empty Global Groups"
- In reply to: Richard Mueller [MVP]: "Re: vbscript, searching Active directory using ADODB type mismatch error"
- Next in thread: Richard Mueller [MVP]: "Re: vbscript, searching Active directory using ADODB type mismatch error"
- Reply: Richard Mueller [MVP]: "Re: vbscript, searching Active directory using ADODB type mismatch error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|