Created
October 2, 2021 06:27
-
-
Save focusmade/21bd757a5544ddf9309c3991118e5dba to your computer and use it in GitHub Desktop.
This file contains 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
Import-Module $env:SyncroModule -WarningAction SilentlyContinue | |
Log-Activity -Message "Attempting to uninstall $application via script" -EventName "Uninstall Application" | |
wmic product where "name like '%%$application%%'" call uninstall /nointeractive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment