mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
2ed44b4546
* Cherry-pick https://github.com/microsoft/vcpkg/pull/15598 * Hook deploy-inteloneapi into create-vmss.ps1. * Add script to resolve https://github.com/microsoft/vcpkg/issues/17521 * Move tls settings deployment to the front and respond to script triggering a reboot. * Go back to provisioning an extra disk to workaround https://github.com/microsoft/vcpkg/issues/18379 * Disallow public access to blob storage and require TLS 1.2. * Update Pools. * Update tool to 2021-06-19 * [simage] Skip simage on uwp platforms as it appears broken by 16.10. * [tensorflow-cc] Skip because changes in our MacOS hardware broke the port.
22 lines
773 B
Plaintext
22 lines
773 B
Plaintext
$ErrorActionPreference = 'Stop'
|
|
$ProgressPreference = 'SilentlyContinue'
|
|
|
|
Write-Host 'Disabling pagefile...'
|
|
wmic computersystem set AutomaticManagedPagefile=False
|
|
wmic pagefileset delete
|
|
|
|
$av = Get-Command Add-MPPreference -ErrorAction SilentlyContinue
|
|
if ($null -eq $av) {
|
|
Write-Host 'AntiVirus not installed, skipping exclusions.'
|
|
} else {
|
|
Write-Host 'Configuring AntiVirus exclusions...'
|
|
Add-MpPreference -ExclusionPath C:\agent
|
|
Add-MPPreference -ExclusionPath D:\
|
|
Add-MPPreference -ExclusionPath E:\
|
|
Add-MPPreference -ExclusionProcess ninja.exe
|
|
Add-MPPreference -ExclusionProcess clang-cl.exe
|
|
Add-MPPreference -ExclusionProcess cl.exe
|
|
Add-MPPreference -ExclusionProcess link.exe
|
|
Add-MPPreference -ExclusionProcess python.exe
|
|
}
|