$printserver = "printserver.contoso.local" ## edit the servername above Get-WMIObject -class Win32_Printer -computer $printserver | Select Name,__SERVER,ShareName,DeviceID,DriverName,PortName,Caption,Comment,Location | Export-CSV -path 'C:\temp\printers.csv'