We have a requirement to change security on every printer within our organization. Some of the print servers on our domain are in clusters and some are standalone.
On the standalone I can pull printers just fine with this WMI query:
$Printers = Get-WmiObject -class "Win32_Printer" -computername $Computer
However when I try to query a cluster I only get 1 printer returning which is the only local printer installed on that server even though there are 100's of other printers.
How can I query the printers in the cluster and modify the permissions on them?