From 9702adbef393604f070f0d28703385a96b1a88d7 Mon Sep 17 00:00:00 2001 From: MattBrowne1 Date: Thu, 10 Oct 2019 16:42:40 +0100 Subject: [PATCH] Very slight typo "no" changed to "not" - Line 27 --- InactiveUsersLast90Days.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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