Skip to content

Instantly share code, notes, and snippets.

@rajbos
Created September 16, 2023 18:38
Show Gist options
  • Save rajbos/ccff6435a009cb0fc7551b2988b049d0 to your computer and use it in GitHub Desktop.
Save rajbos/ccff6435a009cb0fc7551b2988b049d0 to your computer and use it in GitHub Desktop.
Az CLI speed up on Azure DevOps
- script: |
c:
cd %USERPROFILE%
md .azure
cd .azure
echo [core] > config
echo first_run = false >> config
echo collect_telemetry = false >> config
echo error_recommendation = off >> config
echo output = json >> config
echo only_show_errors = true >> config
echo no_color = true >> config
echo disable_progress_bar = true >> config
echo [auto-upgrade] >> config
echo enable = False >> config
echo [logging] >> config
echo enable_log_file = no >> config
echo [output] >> config
echo show_survey_link = no >> config
@jessehouwing
Copy link

Use the environment variable for best results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment