Skip to content

PowerShell 7 Telemetry - Disable

config/tweaks.json
886  "WPFTweaksPowershell7Tele": {
887    "Content": "PowerShell 7 Telemetry - Disable",
888    "Description": "Creates an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell PowerShell 7 to not send Telemetry Data.",
889    "category": "Essential Tweaks",
890    "panel": "1",
891    "InvokeScript": [
892      "[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')"
893    ],
894    "UndoScript": [
895      "[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')"
896    ],