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

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.
LVL 13
Senior IT System EngineerSenior Systems EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Senior IT System EngineerSenior Systems EngineerAuthor Commented:
Thanks for the assistance.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.