Quantcast
Channel: List printers from command line to text file - Super User
Viewing all articles
Browse latest Browse all 9

Answer by Wasif for List printers from command line to text file

$
0
0

Since WMI is being depreciated, I will use CIM in powershell:

Get-CIMInstance CIM_Printer | Format-Table Name,SystemName,ShareName >>printers.txt

Viewing all articles
Browse latest Browse all 9

Trending Articles