Skip to content

Commit 62e1f12

Browse files
timings
1 parent 971e179 commit 62e1f12

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Modules/CIPPCore/Public/Get-CIPPDrift.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,14 +424,14 @@ function Get-CIPPDrift {
424424

425425
# Output timing summary
426426
$OverallStopwatch.Stop()
427-
Write-Information '=== Get-CIPPDrift Performance Summary ===' -ForegroundColor Cyan
428-
Write-Information "Total execution time: $($OverallStopwatch.ElapsedMilliseconds)ms" -ForegroundColor Green
429-
Write-Information "`nSection timings:" -ForegroundColor Cyan
427+
Write-Information '=== Get-CIPPDrift Performance Summary ==='
428+
Write-Information "Total execution time: $($OverallStopwatch.ElapsedMilliseconds)ms"
429+
Write-Information "`nSection timings:"
430430
foreach ($Section in $SectionTimings.GetEnumerator() | Sort-Object Value -Descending) {
431431
$Percentage = [math]::Round(($Section.Value / $OverallStopwatch.ElapsedMilliseconds) * 100, 2)
432-
Write-Information " $($Section.Key): $($Section.Value)ms ($Percentage%)" -ForegroundColor Yellow
432+
Write-Information " $($Section.Key): $($Section.Value)ms ($Percentage%)"
433433
}
434-
Write-Information "========================================`n" -ForegroundColor Cyan
434+
Write-Information "========================================`n"
435435

436436
return @($Results)
437437

0 commit comments

Comments
 (0)