Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Iterating through multiple text files to install muliple printers on groups(networks) of computers

$
0
0

I am racking my brain trying to figure out the best logic to take a list of computers, a list of printers, and a list of associated printer names and parse these to enable me to install each printer, on each computer.  The catch is,  one group of computers (on one network) will need only one printer installed, where as the next group (on another network) may need five printers installed.

Computers         Printer1           Ptr1nm          Printer2          Ptr2nm        Printer3   Ptr3nm
192.168.1.5      192.168.1.10    Xerox 5945    192.168.1.11  Xerox 3550
192.168.1.6      192.168.1.10    Xerox 5945
192.168.1.7      192.168.1.11    Xerox 3550

192.168.2.5      192.168.2.10    Xerox 5945
192.168.2.6      192.168.2.11    Xerox 3550

etc.......................

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles