Export Printer Information to CSV in Powershell

Here is a quick one liner to export basic printer information to CSV. I have found it handy to provide my service desk with this information when they are replacing printers and need to use the same IP information.

Get-Printer | select Name, DriverName, PortName | Export-Csv Printers.csv -NoTypeInformation

For more information about the Get-Printer command check out Technet at https://technet.microsoft.com/en-us/%5Clibrary/hh918358(v=wps.630).aspx