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

1 year, 9 months ago.

  • Author
  • #69933

    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

    Points: 642
    Helping Hand
    Rank: Major Contributor


  • #70032

    Points: 46
    Rank: Member

    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

    Points: 1
    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.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort