Solved

2008 R2 Print Server - Export Printer Info

Posted on 2011-09-12
1
1,000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

A procedure for exporting installed hotfix details of remote computers using powershell
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

756 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