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
Alright, so the next example I have added a Test-Connection cmdlet in there to first ping the system before attempting to establish a wmi connection. Have a look at the results by running this code:
hi, I would appreciate it if you could edit the code to include printer queues, as written, the code does not report all printer queues.
thank you for your time.
Powered by IDERA