Skip to content

Instantly share code, notes, and snippets.

@Depicus
Last active November 28, 2017 12:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Depicus/b3e4039632645010748e to your computer and use it in GitHub Desktop.
Save Depicus/b3e4039632645010748e to your computer and use it in GitHub Desktop.
Clean Windows 10 for the corporate environment.
// if you are on Windows 10 you may need to start powershell as admin and run the folowing command
// Set-ExecutionPolicy RemoteSigned (see https://technet.microsoft.com/library/hh847748.aspx)
// then set back after you are done with
// Set-ExecutionPolicy Undefined
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage *windowscamera* | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage
Get-AppxPackage *skypeapp* | Remove-AppxPackage
Get-AppxPackage *zunemusic* | Remove-AppxPackage
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
Get-AppxPackage *bingfinance* | Remove-AppxPackage
Get-AppxPackage *zunevideo* | Remove-AppxPackage
Get-AppxPackage *bingnews* | Remove-AppxPackage
Get-AppxPackage *onenote* | Remove-AppxPackage
Get-AppxPackage *people* | Remove-AppxPackage
Get-AppxPackage *windowsphone* | Remove-AppxPackage
Get-AppxPackage *photos* | Remove-AppxPackage
Get-AppxPackage *bingsports* | Remove-AppxPackage
Get-AppxPackage *soundrecorder* | Remove-AppxPackage
Get-AppxPackage *xboxapp* | Remove-AppxPackage
// fianlly the windows store
Get-AppxPackage *windowsstore* | Remove-AppxPackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment