uninstall .net core sdk 1.x on remote machines

Need to uninstall .net sdk older version on remote machines.pop up window is showing up when tried below PowerShell script to uninstall older .net sdk version. So .net core sdk is not uninstalling in remote windows machines without user input.

If
(Test-Path "C:Program Filesdotnetsdk.1.14")
{
Start-Process -FilePath $env:systemrootsystem32msiexec.exe -ArgumentList "/X{BCB0834B-EC91-4237-AF17-A2F67FC93796}"
}

tried adding /quite

Start-Process -FilePath $env:systemrootsystem32msiexec.exe -ArgumentList "/X{BCB0834B-EC91-4237-AF17-A2F67FC93796} /quiet" but not working 
[with quite option][2]as well

Source: Windows Questions

LEAVE A COMMENT