Reporting on printer security

When sharing printers, the default configuration is to allow all domain users to print to all printers. Occasionally this is not a desired configuration as there may be special-purpose printers or printers in restricted areas.

To manage this need, we can apply security on the printers themselves to limit which users can perform various functions. We can use permissions to restrict who can print to specific printers, or delegate administrative permissions to certain users.

In this recipe we will report on the printer security on the print server. This will iterate through each printer on the server and return the security attributes assigned to each user.

Getting ready

For this recipe we will be accessing a Server 2012 ...

Get Windows Server 2012 Automation with PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.