Skip to content

Disable PowerShell 7 Telemetry

config/tweaks.json
1808  "WPFTweaksPowershell7Tele": {
1809    "Content": "Disable PowerShell 7 Telemetry",
1810    "Description": "Creates an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell PowerShell 7 to not send Telemetry Data.",
1811    "category": "Essential Tweaks",
1812    "panel": "1",
1813    "InvokeScript": [
1814      "[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')"
1815    ],
1816    "UndoScript": [
1817      "[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')"
1818    ],