#ToDO:Clean up the target machine, remove the file afterwards. Since mobile printing solutions follow precisely the same method as regular printing, there is no need to train employees on using the new technology and staff can easily integrate the process into their existing workflows. Start-Process "C:\Psexec.exe" -ArgumentList "\\$PCName -s Powershell.exe -ExecutionPolicy Bypass -File C:\Logs\install-printer.ps1 -Verb runas" -Wait #Start PSExec and run the ps1 file To get started, simply install the driver, establish a connection to your remote device, and activate the print function. $Code | Out-File \\$PCName\C$\Logs\install-printer.ps1 -Width 230 -Force #Pipe the code block into a ps1 file on the target computer $Printer.Comment = "Printer + Photocopier + Scanner" $Printer.DriverName = "Generic 42BW-4SeriesPCL" $Printer = ("win32_Printer").createinstance() $Port = ("win32_tcpipprinterport").createinstance() Write-Host "圆4 Printer Driver deployment finished !!" -ForegroundColor Green Start-Process "RunDll32" -ArgumentList 'printui.dll PrintUIEntry /ia /m "Generic 42BW-4SeriesPCL" /h "圆4" /v "Type 3 - User Mode" /f "\\helpdesk-pc\Drivers\Drivers\Printers\Develop 28BW-4\Driver CD-ROM\Driver\Drivers\PCL\EN\Win_圆4\KOAYXJA_.inf"' -Wait Write-Host "x86 Printer Driver deployment finished !!" -ForegroundColor Green Start-Process "RunDll32" -ArgumentList 'printui.dll PrintUIEntry /ia /m "Generic 42BW-4SeriesPCL" /h "x86" /v "Type 3 - User Mode" /f "\\helpdesk-pc\Drivers\Drivers\Printers\Develop 28BW-4\Driver CD-ROM\Driver\Drivers\PCL\EN\Win_x86\KOAYXJA_.inf"' -Wait Write-Host "Develop Ineo 363 Printer Installation Initilizing !!" 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. Keep tasks completed and clients happy with award-winning productivity tools from drag-and-drop file transfer, to guest access and remote printing, and more. Is it possible to modify this script and make it as to install printers on remote coimputers. Safe and secure Remote printing removes the need to email and download documents over unsecure networks. From then on, printing remote files is no different to printing from a local device. I have prepared below script for local printer installation that are connected to Network having an IP address. Installing the remote print driver is easy and instant. Printing from a remote device to a local printer helps you to have physically access to all files and documents you need.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |