diff --git a/images/win/scripts/Installers/Install-DotnetSDK.ps1 b/images/win/scripts/Installers/Install-DotnetSDK.ps1 index 2fde13dec..6b0f650a8 100644 --- a/images/win/scripts/Installers/Install-DotnetSDK.ps1 +++ b/images/win/scripts/Installers/Install-DotnetSDK.ps1 @@ -9,6 +9,8 @@ New-Item -Path C:\Temp -Force -ItemType Directory # Set environment variables Set-SystemVariable -SystemVariable DOTNET_MULTILEVEL_LOOKUP -Value "0" +Set-SystemVariable -SystemVariable DOTNET_NOLOGO -Value "1" +Set-SystemVariable -SystemVariable DOTNET_SKIP_FIRST_TIME_EXPERIENCE -Value "1" [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12" @@ -141,4 +143,4 @@ InstallAllValidSdks RunPostInstallationSteps InstallTools -Invoke-PesterTests -TestFile "DotnetSDK" \ No newline at end of file +Invoke-PesterTests -TestFile "DotnetSDK"