Giter Site home page Giter Site logo

sauler / printerinstall Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 34 KB

Script for remote installation of network printers

License: GNU General Public License v3.0

PowerShell 100.00%
powershell powershell-script remote remote-execution printer printer-driver powershell-remoting

printerinstall's Introduction

PrinterInstall

Script for remote installation of network printers

Parameters

  • -ComputerName - target computer
  • -PrinterName - name of printer that we want to install. It has to be equal to name of printer in drivers repository
  • -PrinterSuffix - suffix that will be visible in printer name on target computer. The installed printer will have a name made of PrinterName+PrinterSuffix
  • -PrinterIP - IP of printer that we will be installing
  • -DriversRepository - Path to drivers repository
  • -ListSupportedPrinters - that switch will only list printers that we can install. That list is based on the content in DriversRepository
  • -UserName - name of user on target computer if we want to create network share on it
  • -Share - Switch that will create network share on target computer
  • -ShareOnly - Switch that will skip printer install and only create network share

Examples

TODO

How to create drivers repository

  1. In DriversRepository create new folder with 'PrinterName'.
  2. Next in that folder you have to create folders with names equal to supported system and arch. Like that:
  • Xerox7835
    • Windows 7
      • x86
      • x64
    • Windows 10
      • x86
      • x64
  1. Now download printer drivers and put it in corresponding directory in our printer folder in DriversRepository
  2. After that create Driver.ini file in printer directory which must contain that:
Name = name of printer driver from ini file
Infx86 = name of inf file with driver for x86 printer installation
Infx64 = name of inf file with driver for x64 printer installation

printerinstall's People

Contributors

sauler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.