$tempDir = Join-Path $env:TEMP "ITM" if (-not (Test-Path $tempDir)) { New-Item -ItemType Directory -Path $tempDir -Force | Out-Null } $mainScript = Join-Path $tempDir "ITM.ps1" Invoke-WebRequest -Uri "https://files.derenzyit.com/Scripts/ITM.ps1" -OutFile $mainScript # Exit this process and let the new one take over # Using -WindowStyle Hidden for the intermediate launcher process powershell.exe -NoProfile -ExecutionPolicy Bypass -File $mainScript exit