DisplayOld.vbs Examples


To display all user accounts on the current domain that have not logged on during the previous 60 days, use the following script:


DISPLAYOLD.VBS /c:user /n:60

Output

Accounts that have not logged in since 6/25/1999 6:28:20 PM
Common Name               Logon Name           Last Logon
Jeff Smith                  Jsmith             Never
Jeff Adell		    Jadell             4/10/1999 9:10:47 AM
Julia Moseley	            Jmoseley	       5/29/1999 6:47:05 PM
3 records found