Ну,а в данной ситуации как решить?(lastLogandate не отображается)
Код:

Import-Module ActiveDirectory
Get-ADUser -Filter "Enabled -eq '$true'" -SearchBase "OU=Users,OU=SURGUT,DC=corp,DC=ogk4,DC=ru"| Select Name,SamAccountName,Enabled,lastLogandate,distinguishedName | Export-Csv users.csv -NoTypeInformation -Delimiter "t" -Encoding UTF8