Files
wLocal/PS/pAddPrinters.ps1
2023-01-17 23:15:21 +00:00

8 lines
317 B
PowerShell

Get-Printer -ComputerName 192.168.1.21 | Format-List Name,DriverName
Get-Printer -ComputerName 192.168.1.22 | Format-List Name,DriverName
#Get-Printer -ComputerName reception1 | where Shared -eq $true | fl Name
Add-Printer -ConnectionName \\192.168.1.21\"ZEBRA"
Add-Printer -ConnectionName \\192.168.1.22\"BROTHER"