?
Solved

Add a printer driver to a pc via powershell

Posted on 2014-10-01
3
Medium Priority
?
1,682 Views
Last Modified: 2014-10-02
How can I add a driver to a PC using power shell. I have the script to add the printer from the \\share but the driver is not working. I'd like to prep it before it connects so I don't get the error message.

Thanks!
0
Comment
Question by:Njacobe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
Emmanuel Adebayo earned 2000 total points
ID: 40355077
0
 
LVL 3

Expert Comment

by:Phil Bossman
ID: 40356248
What version OS's are you using, both for the client and print server?  Is there a print cluster involved?  Also which version of Powershell are you using on both the client and server?  is Powershell remoting enabled?

The answer will dictate what the answer can be,  If you are using the latest OS, Windows 8 and Server 2012, then @Emmanuel's answer should get you going.

but if you're using older OS there may be a few things hindering you.

At a high level,  the biggest problems I've seen with this is mapping the printer with the correct credentials and group policy enabling where drivers can be auto installed from.
0
 

Author Comment

by:Njacobe
ID: 40356687
It's w7 to server 2008 r 2
Ps version is 2.
We have a ton of other print shares that we connect to and the work. It seems to be the specific canon printers with this issue.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A procedure for exporting installed hotfix details of remote computers using powershell
A brief introduction to what I consider to be the best editor for PowerShell.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question