diff --git a/InactiveUsersLast90Days.ps1 b/InactiveUsersLast90Days.ps1 index 517f49c..18374f9 100644 --- a/InactiveUsersLast90Days.ps1 +++ b/InactiveUsersLast90Days.ps1 @@ -24,6 +24,6 @@ $loggedOnUsers = Search-UnifiedAuditLog -StartDate $startDate -EndDate $endDate $inactiveInLastThreeMonthsUsers = @() $inactiveInLastThreeMonthsUsers = $allUsers.UserPrincipalName | where {$loggedOnUsers.UserIds -NotContains $_} -Write-Output "The following users have no logged in for the last 90 days:" +Write-Output "The following users have not logged in for the last 90 days:" Write-Output $inactiveInLastThreeMonthsUsers