fix: 2.1.5 simplified output and added object comment
This commit is contained in:
@@ -49,7 +49,7 @@ function Test-SafeAttachmentsTeams {
|
|||||||
# Condition C: Check Safe Attachments for Microsoft Teams
|
# Condition C: Check Safe Attachments for Microsoft Teams
|
||||||
# Determine the result based on the ATP policy settings
|
# Determine the result based on the ATP policy settings
|
||||||
$result = $null -ne $atpPolicyResult
|
$result = $null -ne $atpPolicyResult
|
||||||
$atpPolicyResult | Where-Object { $_.Identity -eq "Default" }
|
#$atpPolicyResult | Where-Object { $_.Identity -eq "Default" }
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$detailpass = [PSCustomObject]@{
|
$detailpass = [PSCustomObject]@{
|
||||||
Name = $atpPolicyResult.Name
|
Name = $atpPolicyResult.Name
|
||||||
|
Reference in New Issue
Block a user