Find out when a users password expires.

Slowly but surely I’m upgrading our Server 2003 DC’s to server 2008. When the DC that the I.T. department was authenticating against was Server 2003, we used the Acctinfo.dll module from the Windows 2003 Resource Kit check this out. This module gave us an Additional Account Info tab on the Users Object that displayed, among other things, when their password expires or expired. Unfortunately, there is no such module available for Server 2008, so I turned to PowerShell to get the job done. I found a PowerShell script written by M. Ali over on MSDN that does exactly what we needed.

Leave a Reply