Skip to content

Commit

Permalink
Fixing empty contact issue found emails
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjantzen committed May 5, 2023
1 parent fc41da3 commit a5443c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion User_Billing_Update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Created Date: Tuesday, August 2nd 2022, 10:36:05 am
# Author: Chris Jantzen
# -----
# Last Modified: Tue Mar 28 2023
# Last Modified: Fri May 05 2023
# Modified By: Chris Jantzen
# -----
# Copyright (c) 2023 Sea to Sky Network Solutions
Expand Down Expand Up @@ -1596,6 +1596,7 @@ if ($UserAudit) {
Write-Host "Exported contact warnings to a json file."
}

$WarnCount = ($WarnContacts | Measure-Object).Count
if ($WarnCount -gt 0 -or ($UnmatchedAD -and ($UnmatchedAD | Measure-Object).Count -gt 0) -or ($UnmatchedO365 -and ($UnmatchedO365 | Measure-Object).Count -gt 0)) {
if ($EmailFrom.Email -and $EmailTo_Audit[0] -and $EmailTo_Audit[0].Email) {
# Lets add info on any duplicate contacts (only if other warnings exist)
Expand Down
2 changes: 1 addition & 1 deletion currentversion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.17.6
2.17.7

0 comments on commit a5443c9

Please sign in to comment.