Adding Printers | 04 | PowerShell Tutorials with PDQ.com

preview_player
Показать описание
Adding printers using PowerShell is pretty simple. Jordan breaks it down.

Can't get enough PDQ? Commence stalking in 3... 2... 1...
- Twitter - General info: @admarsenal
- All things PDQ Deploy: @pdqdeploy
- All things PDQ Inventory: @pdqinventory
- Package Library updates: @packagelibrary
Instagram: @pdqlife
Рекомендации по теме
Комментарии
Автор

Gonna test this. Keep up the great work!

ronaldo
Автор

Hey Jordan! Do you know how can I change the Driver Isolation using PowerShell as well? I want to change to "Isolated", but I couldn't find it. Thank you for the video!

brunomendeslima
Автор

Some questions:
For line 1, can I use a URL where I have the printer driver uploaded to (personal website)?
For line 3, how is the InfPath determined?

michaelsoremekun
Автор

How exactly do we find the correct name for the printer driver. I opened the .inf file and have no idea what the name is. I even looked in the driver name that is listed when windows installed it but that does not work.

flashback
Автор

Could you do a video on how to remove user installed apps like Zoom, those which are installed to the users profile? It would be great to have uninstallers for common apps like Spotify and Zoom which users can just install.

strikesbac
Автор

the "one-liner" doesn't work for me. Names may not contain ', ' or '\' characters. Kind of impossible to do when the format is \\printserver\name

bmjman
Автор

Can we create a printer as a LPR port? Can you please help me with the code to create a printer with LPR port?

SWAROOP
Автор

You can install to the driver store of a remote pc in powershell by doing this

$Computer = "ralph"
$DriverName = "Canon Generic Plus PCL6"
$Driverinf =
Write-Output "rundll32 printui.dll, PrintUIEntry /ia /c\\$Computer /m `"$DriverName`" /h `"x64`" /f `"$Driverinf`"" | Invoke-Expression | Out-Null

Menuta
Автор

To set a printer a network printer as default:
$printerObject = Get-WmiObject win32_printer | where name -eq "\\server\printer"
$result =
"default \\$server\$printer $($result.returnvalue)"

tommy_says