Windows Application Lifecycle
Check
Check
To show what is installed...
winget list
or...
Get-WmiObject -Class Win32_Product | Select-Object -Property Name
The following Powershell alternatives may yield a more complete list... but these cmdlets may not be installed on your system...
Get-Package -Provider Programs -IncludeWindowsInstaller -Name "*"
Get-AppxPackage -AllUsers | Select Name, PackageFullName
Uninstall
Uninstall
$MyApp = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq "MyApp"}
$MyApp.Uninstall()
Or (if this cmdlet is installed)...
Uninstall-Package -Name "MyApp"
Bibliography
Bibliography
https://redmondmag.com/articles/2019/08/27/powershell-to-uninstall-an-application.aspxhttps://docs.rackspace.com/support/how-to/check-for-windows-updates-in-windows-server-2016-and-2019https://pureinfotech.com/view-installed-apps-powershell-windows-10/https://pureinfotech.com/view-installed-apps-powershell-windows-10/