Open kasper334-ghost opened 5 years ago
Same here.
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
The Script is awesome, hoever i noticed that Last Log on Date not populating in the users Tab.