function Initialize-WinUtilTaskbarOverlayAssets { param( [bool]$IncludeLogo = $true, [bool]$IncludeStatusAssets = $true ) if ($IncludeLogo -and -not $sync["logorender"]) { $sync["logorender"] = (Invoke-WinUtilAssets -Type "Logo" -Size 90 -Render) Write-WinUtilPerformanceCheckpoint -Name "Taskbar logo asset rendered" } if ($IncludeStatusAssets -and -not $sync["checkmarkrender"]) { $sync["checkmarkrender"] = (Invoke-WinUtilAssets -Type "checkmark" -Size 512 -Render) Write-WinUtilPerformanceCheckpoint -Name "Taskbar checkmark asset rendered" } if ($IncludeStatusAssets -and -not $sync["warningrender"]) { $sync["warningrender"] = (Invoke-WinUtilAssets -Type "warning" -Size 512 -Render) Write-WinUtilPerformanceCheckpoint -Name "Taskbar warning asset rendered" } }