![]() ![]() $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. 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. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |