Update LexmarkPrinterInstall.ps1
This commit is contained in:
@@ -13,8 +13,8 @@ if (-not (Test-Path -Path $InfPath)) {
|
|||||||
Write-Host "Driver INF found at $InfPath." -ForegroundColor Green
|
Write-Host "Driver INF found at $InfPath." -ForegroundColor Green
|
||||||
}
|
}
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
$IPAddress = Read-Host -Prompt "Enter the printer's IP address (e.g., 10.59.121.22)"
|
$IPAddress = Read-Host -Prompt "Enter the printer's IP address (e.g., 192.168.1.50)"
|
||||||
$PrinterName = Read-Host -Prompt "Enter the custom name for this printer (e.g., Skoda Sales)"
|
$PrinterName = Read-Host -Prompt "Enter the custom name for this printer (e.g., Service printer)"
|
||||||
$IPAddress = $IPAddress.Trim()
|
$IPAddress = $IPAddress.Trim()
|
||||||
$PrinterName = $PrinterName.Trim()
|
$PrinterName = $PrinterName.Trim()
|
||||||
$PortName = "IP_$IPAddress"
|
$PortName = "IP_$IPAddress"
|
||||||
|
|||||||
Reference in New Issue
Block a user