Easily Remove Built-In Windows 10 Apps Using PowerShell

Here’s something I like to do after setting up a new Windows 10 machine: remove the 20 or so built-in apps that don’t provide an Uninstall option.

It’s a simple task to accomplish; you can achieve it in 4 quick steps:

  1. Create a new text file and save it with the .ps1 extension
  2. Paste the PowerShell code listed below into that new file
  3. Start a PowerShell session via “Run as Administrator”
  4. Type the full path to your new file at the command line and hit the Enter key

Here’s the PowerShell code you need to paste into your .ps1 file:

Write-Host "Starting to remove bloatware."
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage *bingfinance* | Remove-AppxPackage
Get-AppxPackage *bingnews* | Remove-AppxPackage
Get-AppxPackage *bingsports* | Remove-AppxPackage
Get-AppxPackage *bingweather* | Remove-AppxPackage
Get-AppxPackage *communicationsapps* | Remove-AppxPackage
Get-AppxPackage *getstarted* | Remove-AppxPackage
Get-AppxPackage *messaging* | Remove-AppxPackage
Get-AppxPackage *onenote* | Remove-AppxPackage
Get-AppxPackage *phone* | Remove-AppxPackage
Get-AppxPackage *photos* | Remove-AppxPackage
Get-AppxPackage *skypeapp* | Remove-AppxPackage
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
Get-AppxPackage *sway* | Remove-AppxPackage
Get-AppxPackage *windowscamera* | Remove-AppxPackage
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
Get-AppxPackage *windowsphone* | Remove-AppxPackage
Get-AppxPackage *xboxapp* | Remove-AppxPackage
Get-AppxPackage *zunemusic* | Remove-AppxPackage
Get-AppxPackage *zunevideo* | Remove-AppxPackage
Write-Host "Goodbye, bloat."

How to Trace/Capture Web Service & REST HTTP Requests Using Fiddler in 3 Easy Steps

1) Download the awesome Fiddler app from here: Fiddler @ Telerik

2) Install Fiddler, then right-click its shortcut icon and click Run as Administrator.

3) Add the following configuration section within the system.net node of your web.config:

<defaultProxy>
<proxy bypassonlocal="false" usesystemdefault="false" proxyaddress="http://127.0.0.1:8888" />
</defaultProxy>

This section tells your server-side code to use Fiddler (running on its default port of 8888 on localhost) as its proxy for the server-side HTTP requests it makes.

Make your web service or REST calls and enjoy!

How to Use the Ping Command to Ping IPv4 or IPv6

Here’s a useful tidbit relating to ping on Windows: If you specify -4 or -6 after the IP address or hostname, you can ping either IPv4 or IPv6, respectively. For example:

To ping using IPv4:

  ping somehostname.com -4

To ping using IPv6:

  ping somehostname.com -6

Additionally, if you add an entry to your hosts file (C:\Windows\System32\drivers\etc\hosts), ping‘s default behavior will change from IPv6 to IPv4.