Environment variable: DOTNET_CLI_TELEMETRY_OPTOUT=1
Documented in ".NET SDK and .NET CLI telemetry" and ".NET environment variables".
Environment variable: DOTNET_UPGRADEASSISTANT_TELEMETRY_OPTOUT=1
Documented in "Upgrade Assistant telemetry".
Environment variable: POWERSHELL_TELEMETRY_OPTOUT=1
Documented in "about_Telemetry".
Environment variable: VCPKG_DISABLE_METRICS=1
You can also pass -disableMetrics to the bootstrap script.
Documented in "vcpkg Telemetry and Privacy" and "Environment variables".
Environment variable: VSCMD_SKIP_SENDTELEMETRY=1 (Any non-empty value will work.)
Prevents VsDevCmd.bat from launching PowerShell to run a command from Microsoft.VisualStudio.DevShell.dll. (And therefore also fixes an issue due to PowerShell changing the terminal font.)
A comment in the script says Send Telemetry if user's VS is opted-in, but there are no checks in the script. I assume/hope the DLL checks opt-in status.
Not documented, as far as I know.
I have seen references to a NUGET_TELEMETRY_OPTOUT environment variable in various places, but I haven't been able to find any evidence of it being used by NuGet.
Registry:
[HKEY_CURRENT_USER\Software\QtProject\QtVsTools\Settings]
Telemetry_Enable=dword:0Controlled by "Telemetry > Enable" on the "Qt > General" page in VS Options. Seems to be set to 1 (Enable) by default. Couldn't find any documentation or even references to it.