Getting printer configuration info with PS

Greetings one and all. I am really just starting my PS learning journey and was wondering if it was possible to use it to generate a report my job has started requiring from time to time and if so, what the codi g would be.

The task is this, we have several Windows servers (2019 and 2012R2) that I need to create a spreadsheet with information about the printers the server manages. I know PS can output info to a CSV file and that would be fine, but i am not sure if it can give me all the info i need. Idealy the output file would list the name, ip address, online status, and paper size setting for each tray configured on each printer…bonus if it could also list the paper type configured on each tray.

Is something like this possible with PS?

Thank you all in advance for any help you might provide.

Hi LyteWing,

What have you tried so far? Have you actually started to write some code? The forum won’t do your work for you but will help if you encounter any issues.
From a quick google search, you could potentially use: Get-PrinterProperties

This might get what you are looking for…it would be a start anyway.

You could use that command in conjunction with Test-Connection you should be able to determine if the server is online and its IP address.

Let us know how you get on.