Skip to content

Commit

Permalink
Updated Invoke-AddSpamFilter.ps1 to automatically set priority to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kakaiwa authored and cipptesting committed Jun 21, 2024
1 parent d13c820 commit 5896f2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Function Invoke-AddSpamFilter {
'hostedcontentfilterpolicy' = "$($RequestParams.name)"
'recipientdomainis' = @($domains)
'Enabled' = $true
'Priority' = 0
}
$GraphRequest = New-ExoRequest -tenantid $Tenantfilter -cmdlet 'New-HostedContentFilterRule' -cmdParams $ruleparams
"Successfully created spamfilter for $tenantfilter."
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5896f2f

Please sign in to comment.