Removed WPFTweaksPowershell7Tele and added it to WPFTweaksTelemetry (#4613)

* Update tweaks.json

* Update preset.json
This commit is contained in:
Gabi
2026-06-04 00:06:03 +03:00
committed by GitHub
parent 23f197b644
commit d7b0389a93
2 changed files with 8 additions and 17 deletions
+2 -4
View File
@@ -12,8 +12,7 @@
"WPFTweaksDiskCleanup",
"WPFTweaksDeleteTempFiles",
"WPFTweaksEndTaskOnTaskbar",
"WPFTweaksRestorePoint",
"WPFTweaksPowershell7Tele"
"WPFTweaksRestorePoint"
],
"Minimal": [
"WPFTweaksConsumerFeatures",
@@ -39,7 +38,6 @@
"WPFTweaksWidget",
"WPFTweaksRemoveOneDrive",
"WPFTweaksWindowsAI",
"WPFTweaksRightClickMenu",
"WPFTweaksPowershell7Tele"
"WPFTweaksRightClickMenu"
]
}
+6 -13
View File
@@ -574,6 +574,9 @@
# Disable (Windows Error Reporting Manager) Service
Set-Service -Name wermgr -StartupType Disabled
# Disable PowerShell 7 telemetry
[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')
Remove-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Siuf\\Rules\" -Name PeriodInNanoSeconds
"
],
@@ -587,6 +590,9 @@
# Enable (Windows Error Reporting Manager) Service
Set-Service -Name wermgr -StartupType Automatic
# Enable PowerShell 7 telemetry
[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')
"
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/telemetry"
@@ -925,19 +931,6 @@
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/endtaskontaskbar"
},
"WPFTweaksPowershell7Tele": {
"Content": "PowerShell 7 Telemetry - Disable",
"Description": "Creates an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell PowerShell 7 to not send Telemetry Data.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [
"[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')"
],
"UndoScript": [
"[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')"
],
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/powershell7tele"
},
"WPFTweaksStorage": {
"Content": "Storage Sense - Disable",
"Description": "Storage Sense deletes temp files automatically.",