Commit 6f5a133
committed
Fix standards aggregation logic in batch apply script
Replaces the use of Where-Object with a ForEach-Object loop to correctly aggregate all standards from all tenants, ensuring that only items with FunctionName 'CIPPStandard' are included. This addresses potential issues with the previous array handling.1 parent 3c75243 commit 6f5a133
File tree
1 file changed
+7
-1
lines changed- Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Standards
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
0 commit comments