Okay so...
The simple form of the query below is this:
Get-QADUser -Enabled -IncludedProperties LastLogonTimeStamp -SizeLimit 0 |
Select-Object DN, UserPrincipalName, DisplayName, LastLogonTimeStamp, WhenCreated |
Export-CSV SomeFile.csv
The code below extends this command, adding a column denoting a period when the account last logged on.
Everything neatly in columns, and, hopefully, you get the perfect world too ;)
Chirs