Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Find default printer for list of remote XP and Win7 pc's

$
0
0

So I'm ready to pull my hair out... I've been asked to create a csv file that shows the default printer for each workstation. This is a monumental feet and from what I've seen online (and try myself) this is not an easy one.

 I've tried scripting it to have it query wmi and the win32_printer class. However I'm coming to realize that if a particular device is accessed by more than one user, it may have multiple default printers and report incorrectly.

I've tried digging into the registry to obtain this data, but didn't really get anywhere.

Can anyone steer me in the right direction?




Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>