

Figure 3: PowerShell cannot find any applications with the word "Free" in their names. If you look at Figure 3, however, you can see that PowerShell seems to know nothing of this application. Figure 2: My computer contains an application called Free Tools Launcher. If you look at Figure 2, you can see that the first application listed within Control Panel is called Free Tools Launcher. In those situations, you will have to use a different approach. Sometimes, however, you will find that there are applications listed in the Windows Control Panel that are not listed when you run the Get-WmiObject cmdlet. The technique that I just showed you is the generally accepted way of removing applications from a Windows desktop using PowerShell. Now you can uninstall the application by calling the Uninstall method. $MyApp = Get-WmiObject -Class Win32_Product | Where-Object Here is the command that you would use to map a variable to the Free Tools application.

As previously mentioned, the first step in making this happen is to map a variable to the application. Let's suppose that you wanted to remove an application called Free Tools. From there, you can direct an uninstall instruction to the variable. You will need to create a variable and map it to the application that you want to remove. Once you know the application's name, removing the application is a relatively straightforward process. I am going to talk about some ways to narrow down the list in a separate column.) (I will be the first to admit that the list that PowerShell generates can be a bit overwhelming, even on a PC that has a minimal number of applications installed. You will need to find the application's exact name as displayed within PowerShell. Once you have generated a list of the applications that are installed on the PC, the next order of business is to locate the listing for the application that you want to uninstall. Figure 1: You can use PowerShell to get a list of the applications that are installed on a PC. You can see an example of this in Figure 1. The command for doing so is: Get-WmiObject -Class Win32_Product | Select-Object -Property NameĪfter several seconds, this command will produce a list of most of the applications that are installed on the PC. The first thing that you need to do is get a list of the applications that are installed on the machine. However, this technique can easily be adapted for multiple machines. In the interest of keeping things simple, I'm going to show you how to use PowerShell to remove an application from a single PC. If you need to remove a certain application from a collection of PCs, then it is likely going to be easier done using PowerShell. But while using the Control Panel to uninstall an application works fine (most of the time), the process isn't exactly scalable. For what seems like forever, Microsoft has given us an option within the Control Panel to uninstall unwanted applications.
