Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

querying network printers

$
0
0
If I open the Windows Printer and devices I see a list of local and share printers. I have a vbs script that retrieves such printers that are display on the interface. if I ran Get-WMIObject Win32_Printer with admin rights I do get the local list but not share ones. So I decided to add one, when I do add one and used PowerShell same code I am able to retrieve the network printer. Why is it not consistent the PowerShell code with vbs code ? Or why I need it to add it on the first place.

michael john ocasio


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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