@echo off setlocal set "PICKAXE_ATTENDANCE_SETUP=%TEMP%\ASISTENCIA_PICKAXE_SETUP.ps1" powershell -NoProfile -ExecutionPolicy Bypass -Command "$ErrorActionPreference='Stop'; $scriptText=(Invoke-WebRequest -UseBasicParsing 'https://control.morflo.com.mx/ASISTENCIA_PICKAXE.ps1').Content; [IO.File]::WriteAllText($env:PICKAXE_ATTENDANCE_SETUP,$scriptText,[Text.UTF8Encoding]::new($true))" if errorlevel 1 ( echo No se pudo descargar el checador. Verifica la conexion y vuelve a intentar. pause exit /b 1 ) powershell -NoProfile -STA -ExecutionPolicy Bypass -File "%PICKAXE_ATTENDANCE_SETUP%" -Install