Using A Script To Install Printers Remotely

Active3 years, 9 months ago
  1. Install Printer Remotely Windows 10

I've been trying to install a network printer using Powershell on Windows 7 so that I can automate the setup of our development machines using Puppet. I found a couple of instructions around but n. Here's a quick a lil script.SERVERCOMPUTER is the computer where the exported file is sitting on C: and 'REMOTEPC01 is whatever the name of your remote PC you want to install Add-printer -path SERVERCOMPUTER c$ PrinterFile.printerExport -computername REMOTEPC01. Need a script to remotely install printer drivers. All, I have a folder with printer drivers on a server, I need to install drivers remotely is there a script to do that?

Good Day,

Hp soni experia. I have prepared below script for local printer installation that are connected to Network having an IP address.

Is it possible to modify this script and make it as to install printers on remote coimputers. My requirement is that if i run this script on my laptop then it will ask me for a Remote ComputerName and after putting the remote computerName the printer gets installed there.

This table contains UserName, Password etc. Php export excel file For creating a table, run the below script. • CREATE TABLE IF NOT EXISTS `tbl_user` ( • `ur_Id` int (11) NOT NULL AUTO_INCREMENT, • `ur_username` varchar (50) NOT NULL, • `ur_password` varchar (50) NOT NULL, • `ur_status` int (11) NOT NULL, • PRIMARY KEY (`ur_Id`) • ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; By running the above script, it will create a table like below. Give it the name “tbl_User”. • Make Table in My SQL for storing the user.

RegardsAbdul Wajid

Abdul WajidAbdul Wajid

1 Answer

You can approach this a number of ways, The simplest way I think is to install PSEXEC and store your script in a block called $Code, Then write the script to the target machine and run it with psexec

NickNick
1,3601 gold badge8 silver badges15 bronze badges
Script
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Install Printer Remotely Windows 10

Not the answer you're looking for? Browse other questions tagged powershellpowershell-2.0powershell-3.0 or ask your own question.