Get-ADUser -Filter * -Property LastLogonDate |?{$_.LastLogonDate -le (Get-Date).AddDays(-60) -and ($_.enabled -eq $true)} |sort lastlogondate -desc |ft name, lastlogondate
Get-ADUser -Filter * -Property LastLogonDate |?{$_.LastLogonDate -le (Get-Date).AddDays(-60) -and ($_.enabled -eq $true)} |sort lastlogondate -desc |ft name, lastlogondate
We are not taking on new clients at this time.