Hi Kent,Querying takes time ?
Yes (and no) - ADSI uses something called "property caches" to speedup queries. When you do a getobject() on a user object, ADSI pre-fetches most of the commonly used user properties. If the property your after is one of these - you don't have to do a $USER.GETINFO() which goes out and pulls down everything. Might I suggest you remove this line from your script and you might see little difference in performance ?
Option to list all the ADSI properties ?
I use the ADSI 2.5 SDK exclusively. You can download the chm help file from Microsoft here - scroll down to see it. By the way - if you want to run ADSI on a Windows NT 4.0 or 9x workstation - you can simply download the ADSI runtimes themselves from there.
And here is some MDSN stuff on IADsUser (the user object interface).
Can you delete an account ?
yap - sure can - just as easily as you can delete all your accounts with one push of a button ;D
Visual KiXtart ? - no idea 'bout that.
Win2Kpro login scripts - for some reason - I've never experienced this problem - maybe I should poke around in my registry and try to figure out why - like you say - this issue come up all the time - I'll let you know what I discover.
-Shawn