Using A Script To Install Printers Remotely
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. 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
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