This PowerShell script prompts the user to enter a computer name, then retrieves and outputs a list of all installed printers on that computer, including the default printer. It gets installed printers locally using WMI and from the registry for network printers. It sorts and formats the full printer list and separately outputs just the default printer name.
Original Description:
List All Installed Printers Incl. Default on Remote PC
Original Title
List All Installed Printers Incl. Default on Remote PC
This PowerShell script prompts the user to enter a computer name, then retrieves and outputs a list of all installed printers on that computer, including the default printer. It gets installed printers locally using WMI and from the registry for network printers. It sorts and formats the full printer list and separately outputs just the default printer name.
This PowerShell script prompts the user to enter a computer name, then retrieves and outputs a list of all installed printers on that computer, including the default printer. It gets installed printers locally using WMI and from the registry for network printers. It sorts and formats the full printer list and separately outputs just the default printer name.