Giter Site home page Giter Site logo

iamcarron / printermanagement Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18 KB

Powershell script designed to manage printers by performing various functions such as adding printers through a CSV file, deleting them, generating printer inventory reports, and sending test pages.

License: Apache License 2.0

PowerShell 100.00%
automation powershell printer printing server pinterserver

printermanagement's Introduction

PrinterManagement

๐Ÿš€ Description

This PowerShell script facilitates printer management in Windows environments, offering functionalities such as installing and removing printers, sending bulk test pages, cleaning print queues, and conducting an inventory of printers connected to the system.

๐Ÿ“‹ Contents

  1. Printer Installation: Allows the installation of printers specified in a CSV file containing details such as the name, local port, and driver.

  2. Printer Deletion: Facilitates the deletion of printers and their associated ports based on information provided in a CSV file.

  3. Test Page Sending: Sends test pages to printers specified in a CSV file to verify their proper functionality.

  4. Print Queue Cleaning: Stops the print queue service, deletes all pending jobs, and restarts the service. It is recommended not to use during productive hours.

  5. Printer Inventory: Generates a CSV file containing detailed information about printers installed on the system, including the name, port, driver, and status.

โš™๏ธ Usage

  1. Clone or download the repository.
  2. Run the PrinterManagement.ps1 script from PowerShell.
  3. Create a CSV file with the next format:
     Name;LocalPort;DriverName
     printer1;\\computer\printer1;Epson
     printer2;192.168.1.156;Epson
    
  4. Select the desired option from the menu.

๐Ÿ“ Requirements

  • PowerShell 5.1 or higher.
  • Administrator permissions to perform certain actions.

โš ๏ธ Notes

  • This script must be run with administrator privileges.
  • Cleaning the print queue (option 4) may interrupt the printing of ongoing documents.

printermanagement's People

Contributors

iamcarron avatar

Watchers

 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.