Get print server information via PowerShell

This weekend I found myself in a situation where I needed to find print server information, such as the default spool directory and restart job timeout value.
You can use the System.Printing assembly for that.
Here’s a function that provides you some basic print server information:

And here’s the output:

Leave a Reply

Your email address will not be published. Required fields are marked *