$target=Join-Path $env:LOCALAPPDATA 'Programs\JVR Software\BrowserForge Ultimate';Get-Process -Name 'BrowserForge Ultimate' -ErrorAction SilentlyContinue|Stop-Process -Force;& sc.exe stop BrowserForgeUltimate 2>$null|Out-Null;& sc.exe delete BrowserForgeUltimate 2>$null|Out-Null;Remove-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'BrowserForge Ultimate' -ErrorAction SilentlyContinue;Remove-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\BrowserForgeUltimate' -Recurse -Force -ErrorAction SilentlyContinue;Remove-Item (Join-Path ([Environment]::GetFolderPath('Programs')) 'BrowserForge Ultimate.lnk') -Force -ErrorAction SilentlyContinue;Start-Process powershell.exe -WindowStyle Hidden -ArgumentList '-NoProfile','-Command',"Start-Sleep 2; Remove-Item -LiteralPath '$target' -Recurse -Force"
