I'm quite new to PowerShell and need some advise/help from you. The goal is to delete all mapped printers that are listed in a file.
It works with only one printer name in the text file, but not with multiple. I'm using Windows 7 with SP1
What is better, WmiObject or CimInstance? Does it matter?
Do you have an idea or advise how to handle printers that are set as "default printers"? When I remove such a printer trough the script, none of the remaining printers get assigned as "default printer".