Update LexmarkPrinterInstall.ps1

This commit is contained in:
2026-06-17 16:41:12 +01:00
parent 185ca96f80
commit c72606d570
+1 -1
View File
@@ -18,7 +18,7 @@ $PrinterName = Read-Host -Prompt "Enter the custom name for this printer (e.g.,
$IPAddress = $IPAddress.Trim()
$PrinterName = $PrinterName.Trim()
$PortName = "IP_$IPAddress"
Write-Host "`nStarting installation for '$PrinterName'..." -ForegroundColor Cyan
Write-Host "Starting installation for '$PrinterName'..." -ForegroundColor Cyan
Write-Host "Registering driver: $DriverName..." -ForegroundColor Yellow
try {
Add-PrinterDriver -Name $DriverName -InfPath $InfPath -ErrorAction Stop