Created
July 7, 2025 04:25
-
-
Save iansltx/4376959614bc16f1fd3b9adbc87bb755 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fleet uninstalls app by finding all related product codes for the specified upgrade code | |
$inst = New-Object -ComObject "WindowsInstaller.Installer" | |
foreach ($product_code in $inst.RelatedProducts('{C1DFDF69-5945-32F2-A35E-EE94C99C7CF4}')) { | |
msiexec /quiet /x $product_code | |
} | |
Exit $LASTEXITCODE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment