Skip to content

Commit

Permalink
Update run.ps1
Browse files Browse the repository at this point in the history
Changed to write-log to $JSONRecipients
  • Loading branch information
BNWEIN authored Oct 14, 2023
1 parent 04d09d2 commit 1eb86a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scheduler_CIPPNotifications/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ try {
}
"@
New-GraphPostRequest -uri 'https://graph.microsoft.com/v1.0/me/sendMail' -tenantid $env:TenantID -type POST -body ($JSONBody)
Write-LogMessage -API 'Alerts' -message "Sent alerts to: $($Config.email)" -tenant $Tenant -sev info
Write-LogMessage -API 'Alerts' -message "Sent alerts to: $($JSONRecipients)" -tenant $Tenant -sev info
}
}
}
Expand Down

0 comments on commit 1eb86a9

Please sign in to comment.