@echo off REM fix-waxtrace-cal.bat - Double-click launcher for fix-waxtrace-cal.ps1. REM Right-click "Run as administrator" so files can land under Program Files. REM Forwards args, e.g.: REM fix-waxtrace-cal.bat -Asset WJF00159 REM If no -Asset is passed the script reads C:\Enrollment\machine-number.txt. powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0fix-waxtrace-cal.ps1" %* echo. echo Done. Full log: C:\Logs\WaxTrace\fix-waxtrace-cal.log echo. pause exit /b %ERRORLEVEL%