Skip to content

Commit

Permalink
Merge pull request #1 from RuudGijsbers/EXOHostedContentFilterPolicy
Browse files Browse the repository at this point in the history
MSFT_EXOHostedContentFilterPolicy: Changed IF statement
  • Loading branch information
RuudGijsbers authored Apr 10, 2021
2 parents 49157ce + efdc280 commit a2cdeb3
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 a2cdeb3

Please sign in to comment.