mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
* Move "Run-Antivirus" step outside of image-generation Co-authored-by: Dibir Magomedsaygitov <v-dimago@microsoft.com>
2 lines
106 B
PowerShell
2 lines
106 B
PowerShell
Write-Host "Set antivirus parameters"
|
|
Set-MpPreference -ScanAvgCPULoadFactor 5 -ExclusionPath "D:\", "C:\" |