Skip to content

PrinterHelper

Description

PowerShell module for managing printers, printer drivers, and related configurations.

GitLab Repository

Features

  • Manage printer objects, drivers, and ports on print servers.
  • Migrate printers and update configurations.
  • Remove unused printer drivers and ports.
  • Set printer permissions and assign printer codes.
  • Synchronize UniFLOW data and clean up inconsistencies.
  • Backup and restore printer configurations.

Functions

Printer Management

  • Add-DigPrinter: Add a printer object to a print server and reserve its IP in Infoblox.
  • Remove-DigPrinter: Remove printer objects from print servers and Infoblox.
  • Remove-BulkPrinterShares: Remove printer shares from a print server.
  • Remove-CanonPrinterDriver: Remove Canon printer drivers from Citrix servers.
  • Remove-DriverFromRemote: Remove a printer driver from a remote computer.
  • Remove-UnusedPrinterdrivers: Remove unused printer drivers from a specified print server.
  • Remove-UnusedPrinterPorts: Remove unused printer ports from a specified print server.
  • Clear-PrintQueue: Clear print jobs from a printer queue.

Printer Configuration

  • Set-PrintersMarkedForMigration: Configure devices to connect to a target printer and remove existing shared printers.
  • Restore-PrinterConfigurationToPreMigration: Restore printer configuration to its pre-migration state using a backup file.
  • Start-MigratePrinters: Migrate printers to a new print server.
  • Start-PCPrinterDriverMigration: Migrate and update printer drivers on a PC.

Permissions and Codes

  • Set-printerpermissions: Modify printer permissions on a specified server or local machine.
  • Set-Printercode: Assign a permanent printer code to a user.
  • Set-UniflowBadge: Assign a UniFLOW badge code to a user in Active Directory.

UniFLOW Management

  • Start-CleanupUniflowData: Clean up inconsistent database data in UniFLOW.
  • Start-SyncUniflowPRServer: Synchronize changes in the UniFLOW database to RP servers.

Utility Functions

  • Get-PrinterList: Retrieve a list of printers from specified servers.
  • Get-Printerlogs: Retrieve logs related to printer operations.

Changelog

  • 26/10/2018: Initial release of the PrinterHelper module.
  • 2020: Added functions for printer driver and port management.
  • 2025: Enhanced migration and synchronization functions, added new features for UniFLOW and printer permissions.