Update WPFTweaksRemoveCopilot (#3768)

This commit is contained in:
Gabi 2025-12-12 16:58:59 +02:00 committed by GitHub
parent 4dc0fd6a6e
commit e2efb3a483
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2554,16 +2554,14 @@
"InvokeScript": [ "InvokeScript": [
" "
Write-Host \"Remove Copilot\" Write-Host \"Remove Copilot\"
Get-Package | Where-Object Name -like '*copilot*'
Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers Get-AppxPackage -AllUsers *Copilot* | Remove-AppxPackage -AllUsers
Get-AppxProvisionedPackage -Online | Where-Object PackageName -like '*Copilot*' | Remove-AppxProvisionedPackage -Online Get-AppxPackage -AllUsers Microsoft.MicrosoftOfficeHub | Remove-AppxPackage -AllUsers
dism /online /remove-package /package-name:Microsoft.Windows.Copilot
" "
], ],
"UndoScript": [ "UndoScript": [
" "
Write-Host \"Install Copilot\" Write-Host \"Install Copilot\"
winget install --name \"Microsoft Copilot\" --source msstore --accept-package-agreements --accept-source-agreements --silent winget install --name \"Copilot\" --source msstore --accept-package-agreements --accept-source-agreements --silent
" "
], ],
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removecopilot" "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/removecopilot"