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
SideAsked:
Who is Participating?
 
artisticsoulConnect With a Mentor Commented:
“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.
http://msdn.microsoft.com/en-us/library/aa394363(v=vs.85).aspx
0
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.

All Courses

From novice to tech pro — start learning today.