Update LexmarkPrinterInstall.ps1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user