Replace em-dash characters with plain hyphens across the 5 shopfloor setup scripts (avoids cp1252 mojibake in .bat files and keeps the PowerShell sources consistent). Also adds [Parameter(Position=1)] to Write-PreInstallLog so the Level argument can be passed positionally. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 lines
269 B
Batchfile
7 lines
269 B
Batchfile
@echo off
|
|
REM Set-MachineNumber.bat - Wrapper for Set-MachineNumber.ps1
|
|
REM Runs the PowerShell helper with bypass execution policy so a double-click
|
|
REM from the desktop just works.
|
|
|
|
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0Set-MachineNumber.ps1"
|