PowerShell script to list installed printers on a list of computers

Hello,

I need a PS script that can list all installed printers using a list of computers. Something like what this script does but for more than 1 computer:
Get-WmiObject -class Win32_printer| ft name, systemName, shareName >> C:\result.txt

Parents
No Data
Reply
  • Nice addition, thank you! [:)]. I tested it this time on some 300 computers & it takes less 3 minutes to finish including the offline computers in the result file. By the way I think a bracket is missing just before the Else statement. 

Children
No Data