![]() ![]() ![]() 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. To uninstall an application we simply need to save the WMI object and call. In the right pane, click on Control Panel. Get-WmiObject -Class Win32_Product -Filter "Name = 'CoffeeCup Free FTP'" To uninstall an application, use the uninstall program provided by Windows 7. Note this wont list any Windows Apps which are installed. Running this cmdlet will produce a list of all installed applications. Find the Visual Studio Code entry, right-click, and select the Uninstall command. 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. Windows Installer Under Programs, select the Uninstall a program link. Posted By in PowerShell, Software | 0 comments ![]()
0 Comments
Leave a Reply. |