Answer the question
In order to leave comments, you need to log in
How to opt out of telemetry in .NET?
How to opt out of telemetry in the .NET SDK, the site says to set the DOTNET_CLI_TELEMETRY_OPTOUT variable to 1 or true. What variable, where. Print in PowerShell?
Quoting https://docs.microsoft.com/en-us/dotnet/core/tools... :
How to opt out
The .NET Core SDK telemetry feature is enabled by default. To opt out of the telemetry feature, set the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 or true.
A single telemetry entry is also sent by the .NET Core SDK installer when a successful installation happens. To opt out, set the DOTNET_CLI_TELEMETRY_OPTOUT environment variable before you install the .NET Core SDK.
Answer the question
In order to leave comments, you need to log in
DOTNET_CLI_TELEMETRY_OPTOUT environment variable
printing is usually accepted on a printing press, but variations are possible.
you can, in Powershell, in particular, execute the command
[System.Environment]::SetEnvironmentVariable('DOTNET_CLI_TELEMETRY_OPTOUT', 1, 'Machine')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question