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