Solved

2008 R2 Print Server - Export Printer Info

Posted on 2011-09-12
1
975 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:Side
1 Comment
 
LVL 2

Accepted Solution

by:
artisticsoul earned 500 total points
ID: 36527257
“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

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question