add: 1.1.1 test as automated and organized csv.

This commit is contained in:
DrIOS
2024-04-05 16:13:08 -05:00
parent 90b34efa1b
commit d033d7ae1b
9 changed files with 175 additions and 53 deletions

View File

@@ -10,6 +10,8 @@ function Test-SpamPolicyAdminNotify {
}
process {
# 2.1.6 Ensure Exchange Online Spam Policies are set to notify administrators
# Get the default hosted outbound spam filter policy
$hostedOutboundSpamFilterPolicy = Get-HostedOutboundSpamFilterPolicy | Where-Object { $_.IsDefault -eq $true }