Skip to content

Commit 66d0d8c

Browse files
.count doesnt exist on single objects.
1 parent b93ac04 commit 66d0d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/Orchestrator Functions/Start-AuditLogOrchestrator.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function Start-AuditLogOrchestrator {
5353
}
5454
}
5555
}
56-
if ($ProcessBatch.Count -gt 0) {
56+
if ($ProcessBatch) {
5757
$ProcessInputObject = [PSCustomObject]@{
5858
OrchestratorName = 'AuditLogTenantProcess'
5959
Batch = @($ProcessBatch)

0 commit comments

Comments
 (0)