Quick Powershell command to remove unused Microsoft software in corporate environment ?

Senior IT System Engineer
Senior IT System Engineer used Ask the Experts™
on
Hi People,

Can anyone please share some Powershell script to remove unused application / apps in the domain-joined Windows 10 Enterprise ?

I've only found these script below:

Remove 3D from Windows 10 
Get-AppxPackage *3d* | Remove-AppxPackage 

Remove Camera from Windows 10 
Get-AppxPackage *camera* | Remove-AppxPackage 

Remove Mail and Calendar from Windows 10 
Get-AppxPackage *communi* | Remove-AppxPackage 

Remove Money, Sports, News and Weather from Windows 10 
Get-AppxPackage *bing* | Remove-AppxPackage 

Remove Groove Music and Film & TV from Windows 10 
Get-AppxPackage *zune* | Remove-AppxPackage 

Remove People from Windows 10 
Get-AppxPackage *people* | Remove-AppxPackage 

Remove Phone Companion from Windows 10 
Get-AppxPackage *phone* | Remove-AppxPackage 

Remove Solitaire Collection from Windows 10 
Get-AppxPackage *solit* | Remove-AppxPackage 

Remove Voice Recorder from Windows 10 
Get-AppxPackage *soundrec* | Remove-AppxPackage 

Remove Xbox from Windows 10 
Get-AppxPackage *xbox* | Remove-AppxPackage

Open in new window


Ideally I'd like to run the PowerShell script above to standardize any Windows 10 using Startup script configured with WMI Filtered GPO.

Any kind of help would be greatly appreciated,

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2018
Commented:
I gathered these lines:
Get-AppxPackage *Microsoft.3DBuilder* | Remove-AppxPackage
Get-AppxPackage *Microsoft.BingFinance* | Remove-AppxPackage
Get-AppxPackage *Microsoft.BingNews* | Remove-AppxPackage
Get-AppxPackage *Microsoft.BingSports* | Remove-AppxPackage
Get-AppxPackage *Microsoft.BingWeather* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Getstarted* | Remove-AppxPackage
Get-AppxPackage *Microsoft.MicrosoftOfficeHub* | Remove-AppxPackage
Get-AppxPackage *Microsoft.MicrosoftSolitaireCollection* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Office.OneNote* | Remove-AppxPackage
Get-AppxPackage *Microsoft.People* | Remove-AppxPackage
Get-AppxPackage *Microsoft.SkypeApp* | Remove-AppxPackage
Get-AppxPackage *Microsoft.WindowsAlarms* | Remove-AppxPackage
Get-AppxPackage *Microsoft.windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage *Microsoft.WindowsMaps* | Remove-AppxPackage
Get-AppxPackage *Microsoft.WindowsPhone* | Remove-AppxPackage
Get-AppxPackage *Microsoft.XboxApp* | Remove-AppxPackage
Get-AppxPackage *Microsoft.ZuneMusic* | Remove-AppxPackage
Get-AppxPackage *Microsoft.ZuneVideo* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Windows.CloudExperienceHost* | Remove-AppxPackage
Get-AppxPackage *Microsoft.AAD.BrokerPlugin* | Remove-AppxPackage
Get-AppxPackage *Microsoft.BioEnrollment* | Remove-AppxPackage
Get-AppxPackage *Microsoft.LockApp* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Windows.AssignedAccessLockApp* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Windows.ContentDeliveryManager* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Windows.ParentalControls* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Windows.ShellExperienceHost* | Remove-AppxPackage
Get-AppxPackage *Microsoft.WindowsFeedback* | Remove-AppxPackage
Get-AppxPackage *Microsoft.XboxGameCallableUI* | Remove-AppxPackage
Get-AppxPackage *Microsoft.XboxIdentityProvider* | Remove-AppxPackage
Get-AppxPackage *Windows.ContactSupport* | Remove-AppxPackage
Get-AppxPackage *Windows.MiracastView* | Remove-AppxPackage
Get-AppxPackage *Windows.PrintDialog* | Remove-AppxPackage
Get-AppxPackage *Windows.PurchaseDialog* | Remove-AppxPackage
Get-AppxPackage *windows.devicesflow* | Remove-AppxPackage
Get-AppxPackage *Microsoft.WindowsFeedback* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Windows.Cortana* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Office.Sway* | Remove-AppxPackage
Get-AppxPackage *Microsoft.WindowsFeedback* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Xbox* | Remove-AppxPackage
Get-AppxPackage *Microsoft.WindowsFeedback* | Remove-AppxPackage
Get-AppxPackage *Windows.ContactSupport* | Remove-AppxPackage

Open in new window

We run it as a logon script, so it's a per-user uninstallation. You can uninstall these right from your setup image file using dism.exe, but don't ask me for the syntax right now - maybe you should do that.

Author

Commented:
Thanks for the assistance.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial