I'm using the following command (as System) to remotely install a printer for all users on the computer:
printui /ga /q /n"\\SERVER\PRINTER"
I then issued the following command (via Powershell as System and as the local user) to receive a list of printers:
Get-WmiObject Win32_Printer
This command returns every printer except for this server share installed printer.
I have then VNC'd into the machine to verify that it does have that printer installed.
I have written a VBScript that uses a WMI query on the Win32_Printer class and that also doesn't return the installed printer.
Is there a reason why this printer doesn't show up in this listing?
Is there a way to force a "refresh" of this information so I can get an accurate reading?