From 2bc03c5b5de1820ba43e1f722e67a87f22a68da6 Mon Sep 17 00:00:00 2001 From: get-credential <47983620+get-credential@users.noreply.github.com> Date: Tue, 26 Feb 2019 12:35:09 -0500 Subject: [PATCH] To fix typo in script. --- InactiveUsersLast90Days.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InactiveUsersLast90Days.ps1 b/InactiveUsersLast90Days.ps1 index 534e3c0..febd37e 100644 --- a/InactiveUsersLast90Days.ps1 +++ b/InactiveUsersLast90Days.ps1 @@ -20,6 +20,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