mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 09:04:47 -05:00
Add new 'Disable Powershell 7 Telemetry' Tweak (#2273)
* Add new 'Disable Powershell 7 Telemetry' Tweak * Add 'Disable Powershell 7 Telemetry' Tweak into the Standard Tweaks Preset
This commit is contained in:
@ -2317,6 +2317,19 @@
|
||||
"Invoke-WPFTweakPS7 -action \"PS5\""
|
||||
]
|
||||
},
|
||||
"WPFTweaksPowershell7Tele": {
|
||||
"Content": "Disable Powershell 7 Telemetry",
|
||||
"Description": "This will create 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",
|
||||
"Order": "a009_",
|
||||
"InvokeScript": [
|
||||
"[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '1', 'Machine')"
|
||||
],
|
||||
"UndoScript": [
|
||||
"[Environment]::SetEnvironmentVariable('POWERSHELL_TELEMETRY_OPTOUT', '', 'Machine')"
|
||||
]
|
||||
},
|
||||
"WPFTweaksStorage": {
|
||||
"Content": "Disable Storage Sense",
|
||||
"Description": "Storage Sense deletes temp files automatically.",
|
||||
|
Reference in New Issue
Block a user