Skip to content

Commit

Permalink
Update MSFT_EXOHostedContentFilterPolicy.psm1
Browse files Browse the repository at this point in the history
Changed the If statement, as there were two the same after eachother
  • Loading branch information
RuudGijsbers committed Apr 10, 2021
1 parent 49157ce commit efdc280
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ function Set-TargetResource
$HostedContentFilterPolicyParams.Remove('EndUserSpamNotificationCustomFromAddress') | Out-Null
Write-Verbose -Message "The EndUserSpamNotificationCustomFromAddress parameter is no longer available and will be depricated."
}
if ($HostedContentFilterPolicyParams.Contains('EndUserSpamNotificationCustomFromAddress'))
if ($HostedContentFilterPolicyParams.Contains('EndUserSpamNotificationCustomFromName'))
{
$HostedContentFilterPolicyParams.Remove('EndUserSpamNotificationCustomFromName') | Out-Null
Write-Verbose -Message "The EndUserSpamNotificationCustomFromName parameter is no longer available and will be depricated."
Expand Down

0 comments on commit efdc280

Please sign in to comment.