Install Printer (Machine Swap)

Welcome Forums General PowerShell Q&A Install Printer (Machine Swap)

This topic contains 3 replies, has 4 voices, and was last updated by

 
Participant
1 year, 6 months ago.

  • Author
    Posts
  • #69933

    Participant
    Points: 0
    Rank: Member

    Hello there,
    is it possible to read out the current installed printer and then we do a machine swap and reinstall the printers?
    they are network printers...

    thanks in advance

  • #69936

    Participant
    Points: 170
    Helping Hand
    Rank: Participant

    deleted

  • #70032

    Participant
    Points: 45
    Rank: Member

    install-printer
    Example 1: Get a list of printers

    This command retrieves a list of printers and printer connections on the local computer

    PS C:\> Get-Printer

    I normally output this to server share with pc hostname:
    $H = hostname
    Get-Printer > "\\servername\share\$H printers.txt"

  • #70134

    Participant
    Points: 0
    Rank: Member

    Drivers are the main issue. Add-Printer cmdlet can only use printers already installed in Windows
    There is nice write-up from the Scripting Guy: install-printer-drivers-with-powershell-in-windows-8
    Or you could export-windowsdriver or pnputil and just transfer all the drivers to the new machine.

The topic ‘Install Printer (Machine Swap)’ is closed to new replies.