Oct 23 2024 07:05 AM
I am trying to uninstall a software and it is specified that the
# Set execution policy to bypass
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
# Get the uninstall string from the registry
$uninstallString = (Get-ItemProperty "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1B4AF183-7693-42EC-B7EE-B6B1FB0140F0}_is1").UninstallString
# Start the uninstallation process with administrative privileges
Start-Process -FilePath $uninstallString -ArgumentList "/SILENT" -Wait -Verb RunAs