Answer by Wasif for List printers from command line to text file
Since WMI is being depreciated, I will use CIM in powershell:Get-CIMInstance CIM_Printer | Format-Table Name,SystemName,ShareName >>printers.txt
View ArticleAnswer by stomy for List printers from command line to text file
In PowerShellISE you can run this to see a list of all installed printers.[System.Drawing.Printing.PrinterSettings]::InstalledPrintersSee the dot.netPrinterSettings.InstalledPrinters Property for more...
View ArticleAnswer by Rightcelebrator for List printers from command line to text file
So this is my solution (in AutoHotKey):;******************;ALLOCATING CONSOLE;******************; cmd calls hiddenglobal cPidDetectHiddenWindows, onRun, %comspec% /k ,,Hide UseErrorLevel,cPidWinWait,...
View ArticleAnswer by Matt Stoddard for List printers from command line to text file
I use:wmic printer list briefORwmic printer get nameThis just shows a short list of printer attached to the system you run the command on. It will also show what computer a printer is connected to if...
View ArticleAnswer by hmqcnoesy for List printers from command line to text file
Starting with Windows 8 / Server 2012, there is a get-printer PowerShell cmdlet:https://technet.microsoft.com/en-us/library/hh918358%28v=wps.630%29.aspx?f=255&MSPPError=-2147217396
View ArticleAnswer by Andrew for List printers from command line to text file
Sometimes you don't want to use PS in win7 (I have an application that lets me do administrative work in the background on remote PCs, but it doesn't use powershell). The XP visual basic scripts...
View ArticleAnswer by cls for List printers from command line to text file
Note: For Windows XP, be sure to change the default script host to CScript first C:\CScript //H:CScriptotherwise you will get a message telling you to do so and your printers.txt file will be blank.
View ArticleAnswer by Wesley for List printers from command line to text file
In Windows XP use prntmngr:PRNMNGR -l >> C:\printers.txtIn Windows XP SP3 Vista and beyond (you need to install powershell v1 manually) , use PowerShell:get-WmiObject -class Win32_printer | ft...
View ArticleList printers from command line to text file
Is there a command that can be used from the command line to output a list of the printers installed and their location, if mapped, to a text file? Or perhaps a program that I can run from the command...
View Article