mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06: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:
parent
0a821f6e21
commit
90f9c16446
@ -14,7 +14,8 @@
|
|||||||
"WPFTweaksDeleteTempFiles",
|
"WPFTweaksDeleteTempFiles",
|
||||||
"WPFTweaksEndTaskOnTaskbar",
|
"WPFTweaksEndTaskOnTaskbar",
|
||||||
"WPFTweaksRestorePoint",
|
"WPFTweaksRestorePoint",
|
||||||
"WPFTweaksTeredo"
|
"WPFTweaksTeredo",
|
||||||
|
"WPFTweaksPowershell7Tele"
|
||||||
],
|
],
|
||||||
"Minimal": [
|
"Minimal": [
|
||||||
"WPFTweaksConsumerFeatures",
|
"WPFTweaksConsumerFeatures",
|
||||||
|
@ -2317,6 +2317,19 @@
|
|||||||
"Invoke-WPFTweakPS7 -action \"PS5\""
|
"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": {
|
"WPFTweaksStorage": {
|
||||||
"Content": "Disable Storage Sense",
|
"Content": "Disable Storage Sense",
|
||||||
"Description": "Storage Sense deletes temp files automatically.",
|
"Description": "Storage Sense deletes temp files automatically.",
|
||||||
|
Loading…
Reference in New Issue
Block a user