PSHTML-AD-Report icon indicating copy to clipboard operation
PSHTML-AD-Report copied to clipboard

Last Log on Date not populating

Open kasper334-ghost opened this issue 6 years ago • 2 comments

The Script is awesome, hoever i noticed that Last Log on Date not populating in the users Tab.

kasper334-ghost avatar May 24 '19 17:05 kasper334-ghost

Same here.

openmoto avatar Nov 14 '19 23:11 openmoto

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

bramyuh avatar Dec 16 '19 13:12 bramyuh