Skip to content

Disable Powershell 7 Telemetry

config/tweaks.json
1801  "WPFTweaksPowershell7Tele": {
1802    "Content": "Disable Powershell 7 Telemetry",
1803    "Description": "Creates an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell PowerShell 7 to not send Telemetry Data.",
1804    "category": "Essential Tweaks",
1805    "panel": "1",
1806    "InvokeScript": [
1807      "[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')"
1808    ],
1809    "UndoScript": [
1810      "[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')"
1811    ],