8 lines
324 B
PowerShell
8 lines
324 B
PowerShell
function Test-PhishPolicyCompliance {
|
|
param ($policy)
|
|
return ($policy.Enabled -eq $true -and
|
|
$policy.PhishThresholdLevel -ge 2 -and
|
|
$policy.EnableMailboxIntelligenceProtection -eq $true -and
|
|
$policy.EnableMailboxIntelligence -eq $true -and
|
|
$policy.EnableSpoofIntelligence -eq $true)
|
|
} |