Powershell to remove a printer from a list of machines
Hello,
I have a list of Windows 10 machines in a text file that I need to remove a printer named "Prt-lkm" from.
I need Powershell to loop through each machine in the list and remove that printer. I have tried a couple of iterations, but I'm missing something in each.
What is the best way to do this?
PowershellPrinters and ScannersWindows 10Windows OS