Cmdlet
Get-OfficePrinter
Lists system printer queues, or the paper sources of a named queue. Requires PowerShell 7.4 or newer.
Syntax
Description
Use Get-OfficePrinterCapability for media, duplex, color and resolution details of a queue or IPP printer.
Examples
Discover queues and trays.
Get-OfficePrinter
Get-OfficePrinter -Name 'Office printer' -PaperSourceParameters
- -Name String[]
- Printer name patterns; PaperSource requires one exact printer name or IPP printer URI.
- -PaperSource SwitchParameter
- List paper sources of the single printer selected by Name.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.