Windows 7 – List printers from command line to text file

In Windows Vista and beyond you can use the PowerShell console to export a list of printers installed on a computer.

  1. Open the Windows Start menu
  2. Type in ‘powershell’
  3. Right click on ‘Windows PowerShell’ and select ‘Run as administrator’
  4. MSWindows7-PowerShell1
  5. Enter the following command into the console

get-WmiObject -class Win32_printer | ft name, systemName, shareName >> c:printers.txt

MSWindows7-PowerShell2

This will create a text file on your C drive called ‘printers.txt’ with a list of the printers attached to the system.