add: Tests for 2.17

This commit is contained in:
DrIOS
2024-12-27 11:05:28 -06:00
parent 022dcde49b
commit 4e12eae6a9
5 changed files with 218 additions and 2 deletions

View File

@@ -339,7 +339,14 @@ function Get-CISExoOutput {
)
#>
$antiPhishPolicies = Get-AntiPhishPolicy
return $antiPhishPolicies
if ($script:Version400) {
Write-Verbose 'Retrieving associated AntiPhishRules...'
$antiPhishRules = Get-AntiPhishRule
return $antiPhishPolicies, $antiPhishRules
}
else {
return $antiPhishPolicies
}
}
'2.1.9' {
# Test-EnableDKIM.ps1