Skip to content

Commit 2f6ac75

Browse files
checking input obj
1 parent 5ab8876 commit 2f6ac75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modules/CIPPCore/Public/Entrypoints/Activity Triggers/Standards/Push-CIPPStandardsApplyBatch.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ function Push-CIPPStandardsApplyBatch {
2121
OrchestratorName = 'StandardsApply'
2222
Batch = @($AllStandards)
2323
SkipLog = $true
24-
}
25-
26-
$InstanceId = Start-NewOrchestration -FunctionName 'CIPPOrchestrator' -InputObject ($InputObject | ConvertTo-Json -Depth 25 -Compress)
24+
} | ConvertTo-Json -Depth 25 -Compress
25+
Write-Host "Standards InputObject: $InputObject"
26+
$InstanceId = Start-NewOrchestration -FunctionName 'CIPPOrchestrator' -InputObject $InputObject
2727
Write-Information "Started standards apply orchestrator with ID = '$InstanceId'"
2828

2929
} catch {

0 commit comments

Comments
 (0)