Skip to content

Commit

Permalink
Merge pull request #474 from Jr7468/dev
Browse files Browse the repository at this point in the history
Fixed a typo :)
  • Loading branch information
KelvinTegelaar authored Nov 14, 2023
2 parents 1149b52 + a55550a commit 032b963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExecEmailForward/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ elseif ($DisableForwarding -eq "True") {
try {
New-ExoRequest -tenantid $TenantFilter -cmdlet "Set-Mailbox" -cmdParams @{Identity = $Username; ForwardingAddress = $null; ForwardingSMTPAddress = $null; DeliverToMailboxAndForward = $false }
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -message "Disabled Email forwarding for $($username)" -Sev "Info" -tenant $TenantFilter
$results = "Disabled Email Forwerding for $($username)"
$results = "Disabled Email Forwarding for $($username)"
}
catch {
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -message "Could not disable Email forwarding for $($username)" -Sev "Error" -tenant $TenantFilter
Expand Down

0 comments on commit 032b963

Please sign in to comment.