• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1260
  • Last Modified:

2008 R2 Print Server - Export Printer Info

Hi ,

Im trying to find a way to export all printer information from a 2008 R2 print server that i can read in excel or the like.

any ideas
1 Solution
“PrintServer1¿ | ForEach-Object{get-wmiobject -computername $_ Win32_Printer | select-object Caption, Location} | Export-Csv “C:\PrintServer1.csv“

Source of script http://www.virtu-al.net/2008/09/10/powershell-print-server-details/

To get more information into the excel file the below link will give you a list of all of the items you can pull as an example add a ShareName to the above script after location and you will get all three in the excel file.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now