Re: Last logon script?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



when ad is asked for info, there is only limited info in the cache. it does
not pull all the info about the user.

Also, remember that vbscript cannot handle 64bit numbers. So, use javascript
for silly things like that:

http://www.winscripter.com/WSH/ADSI/55.aspx

Linn Kubler wrote:
>Hi,
>
>I'm trying to write a script that will pull the last login time of each user
>in my OU. I thought the field in AD was called lastLogonTimestamp but that
>returns an error about not being in the cache. Any suggestions?
>
>Thanks,
>Linn
.



Relevant Pages

  • Re: how to update dataset dynamically
    ... plz if anybody knows it plz suggest me how to do ... In other words, cache or pull. ... pull is and how heavy your site is hit (scalability). ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: IE 6 wont access a particular page
    ... Well one possibility is you have a corrupt file in your IE cache. ... files in a cache so when you pull up a website it pulls up the cached not the ... In IE 6 go to tools, internet options and on the general tab you ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Automatic unmounting, USB flash drives and Linux
    ... OK, I watched the video. ... "How to disable write cache to removable devices ?" ... The problem is not to pull off an USB device (as it's no more ... "How to disable write cache to removable devices?" ...
    (comp.os.linux.misc)
  • Re: preloading and cache
    ... image3 = new Image; ... Force a second download or pull it out of the cache? ...
    (uk.net.web.authoring)