#ps! if((Test-Path -Path "C:\ProgramData\Safetica Client Service")) { Write-Output "nasel jsem safeticu" if(!(Test-Path -Path "C:\STCleanupTool.exe")) { Write-Output "stahuji" Invoke-WebRequest -Uri https://dmr.cz/install/removesafetica/STCleanupTool.exe -OutFile C:\STCleanupTool.exe } if((Test-Path -Path "C:\ProgramData\Safetica Client Service")) { Write-Output "odinstalovavam" Start-Process PowerShell -Argument "C:\STCleanupTool.exe -p S@fetic@2004 " -NoNewWindow -Wait } if(!(Test-Path -Path "C:\ProgramData\Safetica Client Service")) { Write-Output "cistim" Remove-Item "C:\STCleanupTool.exe" Remove-Item "C:\pendmoves64.exe" Remove-Item "C:\movefile64.exe" } } else { Write-Output "safetica tu neni" }