Q. How can I obtain a report of my users' most-recent logon values in Windows Server 2008?

A. A Server 2008 domain controller (DC) can log successful and failed logon attempts. The following code will create a report of the last logon of the users in the specified containers:

The following example shows the code input and resulting output on my savilltech server:

TAGS: Windows 8
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.