Shopfloor scripts: em-dash to hyphen, add positional Level param

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>
This commit is contained in:
cproudlock
2026-04-08 14:24:37 -04:00
parent a1a78e2ba3
commit ded0a7184b
5 changed files with 13 additions and 12 deletions

View File

@@ -1,11 +1,11 @@
# 01-eDNC.ps1 Install eDNC and deploy custom eMxInfo.txt (Standard)
# 01-eDNC.ps1 - Install eDNC and deploy custom eMxInfo.txt (Standard)
Write-Host "=== eDNC Setup ==="
$edncDir = "C:\Enrollment\shopfloor-setup\Standard\eDNC"
if (-not (Test-Path $edncDir)) {
Write-Warning "eDNC folder not found at $edncDir skipping."
Write-Warning "eDNC folder not found at $edncDir - skipping."
exit 0
}