Hi Power Pros,
I am a little stumped on this one which i thought would be easy. I am trying to list all the printers on a computer, check if there is a connection to the old print server and remove it.
The problem! this handy looking command does not list network printers.
This little command is just as bad as the first one, does not show network printers.
I am starting to think there is not a command to list network printers installed on a computer. This will suck however i think i have found the correct registry key to delete with this command.
Get-ChildItem "Registry::HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionPrintV4 Connections"
Before hacking away at the registry i was wondering if you guys know a better way.
Edit Better wording, Formatting.