sync: auto-sync from HOWARD-HOME at 2026-07-17 14:14:41
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-07-17 14:14:41
This commit is contained in:
49
clients/cascades-tucson/scripts/remove-unwanted-apps.ps1
Normal file
49
clients/cascades-tucson/scripts/remove-unwanted-apps.ps1
Normal file
@@ -0,0 +1,49 @@
|
||||
# Remove user-facing apps caregivers don't need
|
||||
# Store is blocked so they can't reinstall
|
||||
$remove = @(
|
||||
'4DF9E0F8.Netflix',
|
||||
'7EE7776C.LinkedInforWindows',
|
||||
'AcerIncorporated.AcerCareCenterS',
|
||||
'AcerIncorporated.AcerCollectionS',
|
||||
'AcerIncorporated.AcerRegistration',
|
||||
'C27EB4BA.DropboxOEM',
|
||||
'Evernote.Evernote',
|
||||
'Microsoft.549981C3F5F10',
|
||||
'Microsoft.Copilot',
|
||||
'Microsoft.Edge.GameAssist',
|
||||
'Microsoft.GamingApp',
|
||||
'Microsoft.Getstarted',
|
||||
'Microsoft.Microsoft3DViewer',
|
||||
'Microsoft.Messaging',
|
||||
'Microsoft.MixedReality.Portal',
|
||||
'Microsoft.OneConnect',
|
||||
'Microsoft.People',
|
||||
'Microsoft.Print3D',
|
||||
'Microsoft.SkypeApp',
|
||||
'Microsoft.WindowsCamera',
|
||||
'Microsoft.WindowsMaps',
|
||||
'Microsoft.Xbox.TCUI',
|
||||
'Microsoft.XboxApp',
|
||||
'Microsoft.XboxGameOverlay',
|
||||
'Microsoft.XboxGamingOverlay',
|
||||
'Microsoft.XboxIdentityProvider',
|
||||
'Microsoft.XboxSpeechToTextOverlay',
|
||||
'Microsoft.YourPhone',
|
||||
'Microsoft.ZuneVideo',
|
||||
'SpotifyAB.SpotifyMusic',
|
||||
'Microsoft.WindowsTerminal'
|
||||
)
|
||||
foreach ($app in $remove) {
|
||||
$pkg = Get-AppxPackage -AllUsers -Name $app -ErrorAction SilentlyContinue
|
||||
if ($pkg) {
|
||||
$pkg | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue
|
||||
Write-Output "Removed: $app"
|
||||
}
|
||||
# Also remove provisioned (prevents reinstall on new profiles)
|
||||
$prov = Get-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue | Where-Object { $_.DisplayName -eq $app }
|
||||
if ($prov) {
|
||||
$prov | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
|
||||
Write-Output "Deprovisioned: $app"
|
||||
}
|
||||
}
|
||||
Write-Output "Done. Kept: Edge, Office, Teams, Outlook, Calculator, Notepad, printing."
|
||||
Reference in New Issue
Block a user