Skip to content

Commit df632ea

Browse files
tests with reporting
1 parent 418a8cc commit df632ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Modules/CIPPCore/Public/Tests/Invoke-CippTestZTNA21808.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ function Invoke-CippTestZTNA21808 {
1818
}
1919
}
2020

21-
$BlockPolicies = $DeviceCodePolicies | Where-Object {
22-
$_.grantControls.builtInControls -contains 'block'
23-
}
21+
$BlockPolicies = $DeviceCodePolicies | Where-Object { $_.grantControls.builtInControls -contains 'block' }
2422

2523
if ($BlockPolicies.Count -gt 0) {
2624
$Status = 'Passed'

0 commit comments

Comments
 (0)