Created
March 29, 2025 01:44
-
-
Save kkamegawa/98dad186b76d26bd245a3526a80c40bc to your computer and use it in GitHub Desktop.
Disable telemetry for Microsoft's products
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for WebDriver for Edge | |
[System.Environment]::SetEnvironmentVariable('MSEDGEDRIVER_TELEMETRY_OPTOUT', '1', [System.EnvironmentVariableTarget]::User) | |
# for DOTNET SDK | |
[System.Environment]::SetEnvironmentVariable('DOTNET_CLI_TELEMETRY_OPTOUT', '1', [System.EnvironmentVariableTarget]::User) | |
# for PowerShell | |
[System.Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', [System.EnvironmentVariableTarget]::User) | |
# for Azure CLI | |
[System.Environment]::SetEnvironmentVariable('AZURE_CORE_COLLECT_TELEMETRY', '1', [System.EnvironmentVariableTarget]::User) | |
# for ML.NET CLI | |
[System.Environment]::SetEnvironmentVariable('MLDOTNET_CLI_TELEMETRY_OPTOUT', '1', [System.EnvironmentVariableTarget]::User) | |
# for Azure functions core tools | |
[System.Environment]::SetEnvironmentVariable('FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT', '1', [System.EnvironmentVariableTarget]::User) | |
# for Power Platform CLI | |
[System.Environment]::SetEnvironmentVariable('PP_TOOLS_TELEMETRY_OPTOUT', '1', [System.EnvironmentVariableTarget]::User) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for WebDriver for Edge | |
export MSEDGEDRIVER_TELEMETRY_OPTOUT=1 | |
# for DOTNET SDK | |
export DOTNET_CLI_TELEMETRY_OPTOUT=1 | |
# for PowerShell | |
export POWERSHELL_TELEMETRY_OPTOUT=1 | |
# for Azure CLI | |
export AZURE_CORE_COLLECT_TELEMETRY=1 | |
# for ML.NET CLI | |
export MLDOTNET_CLI_TELEMETRY_OPTOUT=1 | |
# for Azure functions core tools | |
export FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT=1 | |
# for Power Platform CLI | |
export PP_TOOLS_TELEMETRY_OPTOUT=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment