New-Item -ItemType Directory -Force -Path C:\tmp Start-Sleep -Second 1 cd "C:\Program Files (x86)\TeamViewer" Start-Sleep -Second 1 Stop-Process -Name TeamViewer