Tuesday, 2 March 2021

How to search Printer in Active Directory through PowerShell

 How to search Printer in Active Directory through PowerShell


Get-Printer | select Name, DriverName, PortName, Location



 





Export all printer information to CSV in PowerShell

Get-Printer | select Name, DriverName, PortName, Location | Export-Csv Printers.csv -NoTypeInformation 


All Information.

Get-Printer | select Name, sharename, DriverName, PortName, Location, type,shared | ft -a



 


No comments:

Post a Comment