if (Test-Path "HKLM:Software\Wow6432Node\Splashtop Inc.") {
    $SplashtopProductCode = (Get-ItemProperty "HKLM:Software\Wow6432Node\Splashtop Inc.\Splashtop Remote Server for Business").PRODUCTID
    Start-Process "msiexec.exe" -ArgumentList "/x ${SplashtopProductCode} /qn" -Wait
}
if (Test-Path "HKLM:Software\Splashtop Inc.") {
    $SplashtopProductCode = (Get-ItemProperty "HKLM:Software\Splashtop Inc.\Splashtop Remote Server for Business").PRODUCTID
    Start-Process "msiexec.exe" -ArgumentList "/x ${SplashtopProductCode} /qn" -Wait
}