WMIC comes handy if you are a command line junkie.
To list printers via command line type:
wmic printer get name = = = this will list all the printers installed on a workstation
To list the printer name and the port name of the printers, type this command:
wmic printer get name, portname
Type this command below to list the printer drivers:
wmic printer get name, drivername
To get the device id:
wmic printer get name, deviceid
You can deploy a batch file startup script to check which printer is installed on the computers and redirect the output to a shared folder.
PowerShell can also be used in conjunction with WMIC command:
http://quickbytesstuff.blogspot.sg/2015/11/powershell-list-printers-of-remote.html
To see more WMIC tips, click on WMIC label below.
Cheers!!!
Linux Android App cheat sheet:
https://play.google.com/store/apps/details?id=com.LinuxMobileKit
More about.....WMIC commands
ReplyDeleteLing