opened
kasper334-ghost
username_0
The Script is awesome, hoever i noticed that Last Log on Date not populating in the users Tab.
Last Log on Date not populating
issue
created
openmoto
username_1
Same here.
comment
created
bramyuh
username_2
add "$LastLogon = $AttVar.lastlogon" to:

	$Name = $User.Name
	$UPN = $User.UserPrincipalName
	$Enabled = $AttVar.Enabled
	$EmailAddress = $AttVar.EmailAddress
	$AccountExpiration = $AttVar.AccountExpirationDate
    **$LastLogon = $AttVar.lastlogon**
	$PasswordExpired = $AttVar.PasswordExpired
	$PasswordLastSet = $AttVar.PasswordLastSet
	$PasswordNeverExpires = $AttVar.PasswordNeverExpires
	$daysUntilPWExpire = $daystoexpire
comment