![]() 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. Using the WUSA command we can uninstall Windows Updates from the command prompt either using a remote command prompt in either your RMM software or using. To uninstall an application we simply need to save the WMI object and call. Get-WmiObject -Class Win32_Product -Filter "Name = 'CoffeeCup Free FTP'" Note this wont list any Windows Apps which are installed. Universal Windows Platform apps or Metro Apps) on Windows 8/8.1 and Windows 10. Running this cmdlet will produce a list of all installed applications. Uninstaller that performs clean removal of any program from your PC. 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. Posted By in PowerShell, Software | 0 comments
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |