

A much safer way is using the programs unique identifying number.īelow I run the cmdlet again to see if CoffeeCup Free FTP is listed and this time nothing is returned. If you want to be certain you are uninstalling the correct program then using just the name may not be the best method. $application = Get-WmiObject -Class Win32_Product -Filter "IdentifyingNumber = ''" $application = Get-WmiObject -Class Win32_Product -Filter "Name = 'CoffeeCup Free FTP'" So long as it returns a ReturnValue of 0 its successful. 10-year-old Windows bug with opt-in fix exploited in 3CX attack. To uninstall an application we simply need to save the WMI object and call. Microsoft OneNote will block 120 dangerous file extensions. Get-WmiObject -Class Win32_Product -Filter "Name = 'CoffeeCup Free FTP'" Note this wont list any Windows Apps which are installed. Running this cmdlet will produce a list of all installed applications. Originally, the module was used to install/uninstall PowerShell modules. Listing all installed programs, checking to see if a program is installed by its name and uninstalling programs is super easy and efficient using PowerShell and the Get-WmiObject cmdlet. In modern Windows 10/11 builds and Windows Server 2022/2019/2016, you can use the built-in PowerShell Package Management cmdlets to install or uninstall apps.

Posted By in PowerShell, Software | 0 comments
